Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006347OCamlOCaml generalpublic2014-03-14 14:472014-03-14 15:06
Reporternojb 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionduplicate 
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 0006346resolvedgarrigue Build failure with latest version of xcode on OSX 

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

This is a duplicate of 0006346.
(0011043)
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


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker