[cfe-users] Program build fails on Mac OS X 10.9.2 with clang error message
lrathle at madonie.org
Wed Feb 26 07:49:42 PST 2014
I’m building a program on my Mac with Mac Os X 10.9.2, and Xcode 5.0.2. As compiler, I use Apple LLVM 5.0, Architecture is i386, and base SDK is 0S X 10.6. When I launch the build, I get the following error message, and the build fails :
clang: error: argument unused during compilation: '-mlong-branch'
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
What should I do to avoid this error ? Find this argument and remove it everywhere I find it ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-users