Closed Bug 1781001 Opened 3 years ago Closed 3 years ago

Downgrade some C++20 warnings-as-errors to warnings

Categories

(Firefox Build System :: General, task, P3)

task

Tracking

(firefox-esr91 wontfix, firefox-esr102 wontfix, firefox103 wontfix, firefox104 wontfix, firefox105 wontfix)

RESOLVED FIXED
105 Branch
Tracking Status
firefox-esr91 --- wontfix
firefox-esr102 --- wontfix
firefox103 --- wontfix
firefox104 --- wontfix
firefox105 --- wontfix

People

(Reporter: cpeterson, Assigned: cpeterson)

References

Details

Attachments

(1 file)

Downgrade some C++20 warnings-as-errors to warnings that we can fix after we compile as C++20 (bug 1768116). They don't need to block upgrading to C++20.

-Wambiguous-reversed-operator
-Wdeprecated
-Wdeprecated-anon-enum-enum-conversion
-Wdeprecated-enum-enum-conversion
-Wdeprecated-enum-float-conversion
-Wdeprecated-pragma
-Wdeprecated-this-capture
-Wdeprecated-volatile
-Wvolatile

https://clang.llvm.org/docs/DiagnosticsReference.html

Downgrade some C++20 warnings-as-errors to warnings that we can fix after we compile as C++20 (bug 1768116). They don't need to block upgrading to C++20.

Suppress the -Wambiguous-reversed-operator warnings entirely for now because they are too noisy (with about 600 warnings).

Pushed by cpeterson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7cb6077cbdac Downgrade some C++20 warnings-as-errors to warnings. r=firefox-build-system-reviewers,andi
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch
See Also: → Wdeprecated-volatile
See Also: → Wenum-enum-conversion
Depends on: 1887580
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: