https://sourceware.org/bugzilla/show_bug.cgi?id=18998
Bug ID: 18998 Summary: Please enable -Wno-unknown-warning-option when compiling under Clang Product: binutils Version: 2.26 (HEAD) Status: NEW Severity: enhancement Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: noloader at gmail dot com Target Milestone: --- Clang does not understand a few warnings used by GCC. Combined with -Werror, this results in a failed compile. I understand I can perform the following, but this seems like one of those things that could be easily automated: export CFLAGS="-g2 -O2 -Wno-unknown-warning-option" Here's what GCC reports under OS X 10.8.5: $ gcc --version Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn) Target: x86_64-apple-darwin12.6.0 Thread model: posix -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils