Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006347OCaml~DO NOT USE (was: OCaml general)public2014-03-14 14:472014-03-14 15:06
Assigned To 
PlatformOSOS XOS Version10.9.2
Product Version 
Target VersionFixed in Version 
Summary0006347: Clang 5.1 does not accept '-fno-defer-pop' anymore
DescriptionI 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 ReproduceWrite "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 InformationMy 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
TagsNo tags attached.
Attached Files

- Relationships
duplicate of 0006346closedgarrigue Build failure with latest version of xcode on OSX 

-  Notes
nojb (reporter)
2014-03-14 14:50

This is a duplicate of 0006346.
gasche (developer)
2014-03-14 15:05

Indeed. Thanks for the report anyway!

- Issue History
Date Modified Username Field Change
2014-03-14 14:47 nojb New Issue
2014-03-14 14:50 nojb Note Added: 0011042
2014-03-14 15:05 gasche Note Added: 0011043
2014-03-14 15:05 gasche Status new => closed
2014-03-14 15:05 gasche Resolution open => duplicate
2014-03-14 15:06 gasche Relationship added duplicate of 0006346
2017-02-23 16:36 doligez Category OCaml general => -OCaml general
2017-03-03 17:55 doligez Category -OCaml general => -(deprecated) general
2017-03-03 18:01 doligez Category -(deprecated) general => ~deprecated (was: OCaml general)
2017-03-06 17:04 doligez Category ~deprecated (was: OCaml general) => ~DO NOT USE (was: OCaml general)

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker