Closed
Bug 731316
Opened 11 years ago
Closed 11 years ago
Add -Wno-unknown-warning-option to default Clang flags
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla13
People
(Reporter: gps, Assigned: espindola)
References
Details
Attachments
(1 file)
1.72 KB,
patch
|
espindola
:
review+
espindola
:
feedback+
|
Details | Diff | Splinter Review |
I'd like to propose adding -Wno-unknown-warning-option to the default Clang compiler flags. If we don't do this, when we add new warning flags to support latest (possibly unreleased Clang) like bug 727145, users on older/released versions see diagnostics for the unsupported warnings. This is annoying and is arguably useless build noise.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → respindola
Comment 1•11 years ago
|
||
I was in the middle of cleaning up my build anyway, here's what I used to silence the warnings
Attachment #601395 -
Flags: feedback?(respindola)
Reporter | ||
Comment 2•11 years ago
|
||
\o/ That is so much cleaner than configure.in. I wish I knew about that when I did bug 717713. I don't suppose it is too much to ask to have that flag ported as part of this bug...
Assignee | ||
Comment 3•11 years ago
|
||
Comment on attachment 601395 [details] [diff] [review] Add -Wno-unknown-warning-option We should one day add a generic "check if this option exists" macro, but this is an improvement. Thanks.
Attachment #601395 -
Flags: feedback?(respindola) → feedback+
Comment 4•11 years ago
|
||
Comment on attachment 601395 [details] [diff] [review] Add -Wno-unknown-warning-option Rafael, if you're OK with this please set checkin-needed (or check it in yourself, if you want)
Attachment #601395 -
Flags: review?(respindola)
Assignee | ||
Comment 5•11 years ago
|
||
Comment on attachment 601395 [details] [diff] [review] Add -Wno-unknown-warning-option I will check it in.
Attachment #601395 -
Flags: review?(respindola) → review+
Assignee | ||
Comment 6•11 years ago
|
||
https://tbpl.mozilla.org/?tree=Mozilla-Inbound&rev=51c165e93859
Comment 7•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/51c165e93859
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla13
Updated•5 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•