Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clang 5.1 does not accept '-fno-defer-pop' anymore #6347

Closed
vicuna opened this issue Mar 14, 2014 · 2 comments
Closed

Clang 5.1 does not accept '-fno-defer-pop' anymore #6347

vicuna opened this issue Mar 14, 2014 · 2 comments

Comments

@vicuna
Copy link

vicuna commented Mar 14, 2014

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

@vicuna
Copy link
Author

vicuna commented Mar 14, 2014

Comment author: @nojb

This is a duplicate of #6346.

@vicuna
Copy link
Author

vicuna commented Mar 14, 2014

Comment author: @gasche

Indeed. Thanks for the report anyway!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant