Trying r45451 again, but this time warning-free on 3.10.x.
[oota-llvm.git] / bindings / ocaml / llvm / llvm_ocaml.c
index 5c8767543f2280584d1d23edd4e63bf8925d117e..3f48887e11f45d4bedccb007e4364f425f9a7a6f 100644 (file)
@@ -45,6 +45,9 @@ static void llvm_raise(value Prototype, char *Message) {
   
   raise_with_arg(Prototype, CamlMessage);
   abort(); /* NOTREACHED */
+#ifdef CAMLnoreturn
+  CAMLnoreturn; /* Silences warnings, but is missing in some versions. */
+#endif
 }