aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/ocaml/llvm/llvm_ocaml.c
diff options
context:
space:
mode:
authorGordon Henriksen <gordonhenriksen@mac.com>2007-12-30 18:12:41 +0000
committerGordon Henriksen <gordonhenriksen@mac.com>2007-12-30 18:12:41 +0000
commit3a36a9e9c5f3a14eaa95e5c33e611eaed84203d4 (patch)
treeb04a52f5473459d267f70bdfe3ea9beaad62427a /bindings/ocaml/llvm/llvm_ocaml.c
parent5798b0f2ea271aa08adab2b63c44a530bfa0490e (diff)
downloadexternal_llvm-3a36a9e9c5f3a14eaa95e5c33e611eaed84203d4.zip
external_llvm-3a36a9e9c5f3a14eaa95e5c33e611eaed84203d4.tar.gz
external_llvm-3a36a9e9c5f3a14eaa95e5c33e611eaed84203d4.tar.bz2
Trying r45451 again, but this time warning-free on 3.10.x.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45452 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'bindings/ocaml/llvm/llvm_ocaml.c')
-rw-r--r--bindings/ocaml/llvm/llvm_ocaml.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bindings/ocaml/llvm/llvm_ocaml.c b/bindings/ocaml/llvm/llvm_ocaml.c
index 5c87675..3f48887 100644
--- a/bindings/ocaml/llvm/llvm_ocaml.c
+++ b/bindings/ocaml/llvm/llvm_ocaml.c
@@ -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
}