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
This commit is contained in:
Gordon Henriksen 2007-12-30 18:12:41 +00:00
parent 309298955a
commit a9d059693b
3 changed files with 9 additions and 0 deletions

View File

@ -37,6 +37,9 @@ static void llvm_raise(value Prototype, char *Message) {
raise_with_arg(Prototype, CamlMessage); raise_with_arg(Prototype, CamlMessage);
abort(); /* NOTREACHED */ abort(); /* NOTREACHED */
#ifdef CAMLnoreturn
CAMLnoreturn; /* Silences warnings, but is missing in some versions. */
#endif
} }

View File

@ -43,6 +43,9 @@ static void llvm_raise(value Prototype, char *Message) {
raise_with_arg(Prototype, CamlMessage); raise_with_arg(Prototype, CamlMessage);
abort(); /* NOTREACHED */ abort(); /* NOTREACHED */
#ifdef CAMLnoreturn
CAMLnoreturn; /* Silences warnings, but is missing in some versions. */
#endif
} }

View File

@ -45,6 +45,9 @@ static void llvm_raise(value Prototype, char *Message) {
raise_with_arg(Prototype, CamlMessage); raise_with_arg(Prototype, CamlMessage);
abort(); /* NOTREACHED */ abort(); /* NOTREACHED */
#ifdef CAMLnoreturn
CAMLnoreturn; /* Silences warnings, but is missing in some versions. */
#endif
} }