Closed Bug 1107814 Opened 10 years ago Closed 10 years ago

Mark more source directories as FAIL_ON_WARNINGS, some conditionally for just clang or MSVC

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla37

People

(Reporter: cpeterson, Assigned: cpeterson)

References

Details

Attachments

(2 files)

Part 1: Mark more directories as FAIL_ON_WARNINGS (unconditionally for all compilers)

Green Try build:
https://tbpl.mozilla.org/?tree=Try&rev=08ac647efbcd
Daniel: do you mind testing these FAIL_ON_WARNINGS patches with your Ubuntu clang build environment? Your clang always seems to find problems that our OS X clang does not. :)
Attachment #8532428 - Flags: feedback?(dholbert)
Comment on attachment 8532428 [details] [diff] [review]
part-2-conditional-FAIL_ON_WARNINGS.patch

These don't break anything for me, in my --enable-debug --disable-optimize --enable-warnings-as-errors build. (with clang 3.5 on Ubuntu 14.10)

(I dropped all my other --enable/disable flags to be sure I wasn't turning off any code that's being declared to be warning-free here.)

Thanks!
Attachment #8532428 - Flags: feedback?(dholbert) → feedback+
Comment on attachment 8532427 [details] [diff] [review]
part-1-unconditional-FAIL_ON_WARNINGS.patch

Part 1: Mark more directories as FAIL_ON_WARNINGS (unconditionally for all compilers)

Green Try build:
https://tbpl.mozilla.org/?tree=Try&rev=08ac647efbcd
Attachment #8532427 - Flags: review?(gps)
Comment on attachment 8532428 [details] [diff] [review]
part-2-conditional-FAIL_ON_WARNINGS.patch

Part 2: Mark some directories as FAIL_ON_WARNINGS conditionally for some compilers.
Attachment #8532428 - Flags: review?(gps)
Attachment #8532427 - Flags: review?(gps) → review+
Attachment #8532428 - Flags: review?(gps) → review+
Back out part of changeset 2147895c5dc4 (bug 1107814) because of non-unified OS X build breakage on a CLOSED TREE. a=philor

https://hg.mozilla.org/integration/mozilla-inbound/rev/c8da0f3cee92
https://hg.mozilla.org/mozilla-central/rev/b14b9b335d4e
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: