Closed Bug 1515434 Opened 5 years ago Closed 5 years ago

Android build failure with warnings-as-errors: "error: unknown warning group '-Wc++2a-compat'"

Categories

(Firefox Build System :: General, defect, P2)

defect

Tracking

(firefox66 fixed)

RESOLVED FIXED
Tracking Status
firefox66 --- fixed

People

(Reporter: botond, Assigned: Sylvestre)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

I'm having trouble building recent m-c for Android with warnings-as-errors enabled. Getting the following error:

0:35.60 /home/botond/dev/mozilla/refactoring/xpcom/tests/gtest/TestStrings.cpp:35:34: error: unknown warning group '-Wc++2a-compat', ignored [-Werror,-Wunknown-pragmas]
 0:35.60 #pragma clang diagnostic ignored "-Wc++2a-compat"
 0:35.60                                  ^

Looks like a regression from bug 1509926?
I'm building with NDK r15c which is using clang 5.0.
Flags: needinfo?(sledru)
Assignee: nobody → sledru
Flags: needinfo?(sledru)
Priority: -- → P2
Pushed by sledru@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/78e2f7ce4040
Only activate the deactivation of -Wc++2a-compat from clang 6 r=botond
https://hg.mozilla.org/mozilla-central/rev/78e2f7ce4040
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: