Closed Bug 1217297 Opened 4 years ago Closed 4 years ago
Warning: unknown warning group '-Wreserved-id-macro'
I have the warning: unknown warning group '-Wreserved-id-macro' on nearly every files when compiling. 2:03.27 In file included from /Users/tlin/Projects/gecko-dev/obj-firefox/dom/base/Unified_cpp_dom_base5.cpp:1: 2:03.27 In file included from <built-in>:348: 2:03.27 In file included from <command line>:13: 2:03.27 Warning: -Wunknown-pragmas in /Users/tlin/Projects/gecko-dev/obj-firefox/mozilla-config.h: unknown warning group '-Wreserved-id-macro', ignored 2:03.27 ./../../mozilla-config.h:12:34: warning: unknown warning group '-Wreserved-id-macro', ignored [-Wunknown-pragmas] 2:03.27 #pragma clang diagnostic ignored "-Wreserved-id-macro" I use Xcode 7.0.1. $ clang --version Apple LLVM version 7.0.0 (clang-700.0.72) Target: x86_64-apple-darwin15.0.0 Thread model: posix
Hi Brian, The #pragma was added in bug 1128413. If I removed the three lines in , the "Warning: -Wunknown-pragmas" is gone. Any ideas?  https://dxr.mozilla.org/mozilla-central/rev/59a6ad6a921f4809dfc37d943d765300c65721e5/mozilla-config.h.in#11-13
I realize that this warning happens only when I use distcc.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.