From 3a36a9e9c5f3a14eaa95e5c33e611eaed84203d4 Mon Sep 17 00:00:00 2001 From: Gordon Henriksen <gordonhenriksen@mac.com> Date: Sun, 30 Dec 2007 18:12:41 +0000 Subject: 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 --- bindings/ocaml/llvm/llvm_ocaml.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bindings/ocaml/llvm/llvm_ocaml.c') 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 } -- cgit v1.1