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