I have an iOS application that uses Core Plot, and after I upgraded to Xcode 4.5, I'm seeing the following error when building:
clang: error: argument unused during compilation:
'-falign-loops=16' Command
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
failed with exit code 1
What can cause this and how can I fix it?
-falign-loops
is a GCC option not used by clang. It is normally a warning in clang, so I assume you have the compiler option set to treat warnings as errors ( -Werror
).
I had the same issue using CorePlot, the following solved the problem
Hope it resolves your issue
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.