You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 6347 Reporter:@nojb Status: closed (set by @gasche on 2014-03-14T14:05:29Z) Resolution: duplicate Priority: normal Severity: major OS: OS X OS Version: 10.9.2 Category: ~DO NOT USE (was: OCaml general) Duplicate of:#6346
Bug description
I am running the recently released OS X command line tools which contain Apple Clang 5.1. The flag `-f-no-defer-pop' is rejected by this version of clang. This makes it impossible to use ocamlc or ocamlopt to compile .c stubs.
Steps to reproduce
Write "int main(void) { return 0; }" into a file `test.c' and do 'ocamlc -c test.c'. You should get the error
clang: error: unknown argument: '-fno-defer-pop' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
Additional information
My precise clang version is
Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix
The text was updated successfully, but these errors were encountered:
Original bug ID: 6347
Reporter: @nojb
Status: closed (set by @gasche on 2014-03-14T14:05:29Z)
Resolution: duplicate
Priority: normal
Severity: major
OS: OS X
OS Version: 10.9.2
Category: ~DO NOT USE (was: OCaml general)
Duplicate of: #6346
Bug description
I am running the recently released OS X command line tools which contain Apple Clang 5.1. The flag `-f-no-defer-pop' is rejected by this version of clang. This makes it impossible to use ocamlc or ocamlopt to compile .c stubs.
Steps to reproduce
Write "int main(void) { return 0; }" into a file `test.c' and do 'ocamlc -c test.c'. You should get the error
clang: error: unknown argument: '-fno-defer-pop' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
Additional information
My precise clang version is
Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix
The text was updated successfully, but these errors were encountered: