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 ?