projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Trying r45451 again, but this time warning-free on 3.10.x.
[oota-llvm.git]
/
bindings
/
ocaml
/
executionengine
/
executionengine_ocaml.c
diff --git
a/bindings/ocaml/executionengine/executionengine_ocaml.c
b/bindings/ocaml/executionengine/executionengine_ocaml.c
index 58d7d5a77f6612f0dc72609bc1d5e9bf7c114e40..0f124c546eeb94e5bcc00b6e917c0d94f9592660 100644
(file)
--- a/
bindings/ocaml/executionengine/executionengine_ocaml.c
+++ b/
bindings/ocaml/executionengine/executionengine_ocaml.c
@@
-43,6
+43,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
}