Closed Bug 1222531 Opened 9 years ago Closed 8 years ago

turn off -Wextra-tokens on clang-cl in accessible/ directories

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla46
Tracking Status
firefox46 --- fixed

People

(Reporter: froydnj, Assigned: froydnj)

Details

Attachments

(1 file)

The Windows MIDL code generator creates things like:

    #endif !_MIDL_USE_GUIDDEF_

which clang-cl complains about.  MSVC doesn't, so turn this warning off.
This is technically a build config change, but I think Trevor can review this.
Attachment #8684317 - Flags: review?(tbsaunde+mozbugs)
Comment on attachment 8684317 [details] [diff] [review]
turn off -Wextra-tokens on clang-cl in accessible/ directories

yeah, I'm comfortable saying this is fine.  I'm kind of suprised you didn't need this in other directories, especially accessible/windows/uia/ but maybe only some midl generated files have this?

As gross as this is I wonder if clang-cl should generally not emit this warning by default?
Attachment #8684317 - Flags: review?(tbsaunde+mozbugs) → review+
https://hg.mozilla.org/mozilla-central/rev/6490203bb10a
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: