Closed Bug 1217297 Opened 9 years ago Closed 8 years ago

Warning: unknown warning group '-Wreserved-id-macro'

Categories

(Firefox Build System :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: TYLin, Unassigned)

Details

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 [1], the "Warning: -Wunknown-pragmas" is gone. Any ideas?

[1] https://dxr.mozilla.org/mozilla-central/rev/59a6ad6a921f4809dfc37d943d765300c65721e5/mozilla-config.h.in#11-13
Flags: needinfo?(brian)
I realize that this warning happens only when I use distcc.
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(brian)
Resolution: --- → WORKSFORME
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.