gecko-dev/build
Chris Peterson 90b77f1d03 Bug 1887580 - Disable some C++20 warnings that break the C++20 build or are too noisy. r=firefox-build-system-reviewers,glandium
1. Stop enabling -Wdeprecated-this-capture because it has no affect when compiling as C++17 and it's enabled by default with compiling as C++20.

2. Disable -Wdeprecated-this-capture warnings by changing "-Wno-error" to "-Wno". These warnings are enabled by default when compiling as C++20 and even just logging these warnings as non-fatal messages breaks the clang-plugin tests because the messages aren't in the tests' expected compiler output. We can't fix these warnings until after we default to -std=c++20 because the code change isn't backwards compatible with C++17.

3. Stop enabling -Wc++2a-compat because it causes build errors about valid C++20 code (that isn't backwards compatible with C++17) when compiling as C++20.

4. Remove -Wno-error=deprecated. I don't remember why it was needed to compile as C++20 when I added it two years ago (in bug 1781001), but it's no longer needed.

5. Disable -Wdeprecated-anon-enum-enum-conversion and -Wdeprecated-enum-enum-conversion warnings by changing "-Wno-error" to "-Wno". There are so many warnings in common shared header files, they overwhelm the compiler output. Fixing these warnings in bug 1791958 and bug 1791955, respectively, doesn't block defaulting to -std=c++20.

6. Remove -Wno-deprecated-pragma because it's not longer needed. It warns about C++20 deprecating ATOMIC_VAR_INIT in favor of std::atomic<int>. We used to have some warnings about ATOMIC_VAR_INIT, but I guess they've been fixed because we currently have no -Wdeprecated-pragma warnings.

Differential Revision: https://phabricator.services.mozilla.com/D205539
2024-03-27 00:38:54 +00:00
..
android
autoconf Bug 1881545 - Move nl_langinfo and CODESET check from js/src/old-configure.in to js/moz.configure r=glandium 2024-02-28 11:11:18 +00:00
build-clang Backed out changeset d90b4451e543 (bug 1885319) for causing multiple xpcshell failures. 2024-03-21 17:53:03 +02:00
build-rust Bug 1857090 - Update builders to rustc 1.75. r=firefox-build-system-reviewers,ahochheiden 2023-12-28 19:59:02 +00:00
cargo Bug 1865522 - Mark cargo clippy as requiring export. r=firefox-build-system-reviewers,sylvestre,ahochheiden 2023-11-21 01:07:44 +00:00
clang-plugin Bug 1878108 - Replace custom MOZ_LIFETIME_BOUND with built-in. r=nika,glandium 2024-02-06 13:00:39 +00:00
compare-mozconfig Bug 1873105 - convert .ini manifests to .toml: batch 22 remaining moz.build refs r=jmaher,jgilbert,extension-reviewers,robwu 2024-01-24 23:19:47 +00:00
debian-packages Bug 1843209 - Fix pygobject for python 3.8. r=firefox-build-system-reviewers,ahochheiden 2023-12-12 03:52:00 +00:00
docs Bug 1880704 - Allow downloading Snap package from mozilla-central r=mboldan 2024-02-26 13:29:08 +00:00
gyp_includes Bug 1834908 - Reintroduce iOS support in the build system. r=firefox-build-system-reviewers,andi 2024-02-29 00:49:10 +00:00
macosx Bug 1882661 - Add support for iPhoneSimulator. r=firefox-build-system-reviewers,ahochheiden 2024-03-01 19:30:43 +00:00
moz.configure Bug 1887580 - Disable some C++20 warnings that break the C++20 build or are too noisy. r=firefox-build-system-reviewers,glandium 2024-03-27 00:38:54 +00:00
package/mac_osx
pgo Bug 1884540 - Remove six dependency from build/ directory r=ahochheiden 2024-03-13 17:37:16 +00:00
pure_virtual
rust Bug 1759175 pt1 - Repository integration r=glandium,supply-chain-reviewers 2024-03-20 14:59:43 +00:00
sanitizers Bug 1851694 - Suppress ubsan function sanitizer for rlbox's impl_invoke_with_func_ptr. r=shravanrn 2023-09-05 22:54:44 +00:00
sparse-profiles Bug 1884976 - also include ApplicationServices.kt in android-gradle-dependencies rebuild triggers. r=gbrown 2024-03-15 19:47:40 +01:00
tests/cram Bug 1869890 - migrate cram.ini to .toml. r=ahal 2023-12-14 21:00:24 +00:00
unix Bug 1867459 - Replace CPU_ARCH with TARGET_CPU. r=firefox-build-system-reviewers,sergesanspaille 2023-12-08 10:43:59 +00:00
valgrind Bug 1884540 - Remove six dependency from build/ directory r=ahochheiden 2024-03-13 17:37:16 +00:00
vs Bug 1881383 - Remove VS 2019 toolchain. r=firefox-build-system-reviewers,sergesanspaille 2024-03-26 00:02:34 +00:00
win32 Bug 1880941 - Remove build/win*/mozconfig.vs*. r=firefox-build-system-reviewers,sergesanspaille 2024-02-21 22:18:11 +00:00
win64 Bug 1880941 - Remove build/win*/mozconfig.vs*. r=firefox-build-system-reviewers,sergesanspaille 2024-02-21 22:18:11 +00:00
workspace-hack Bug 1759175 pt1 - Repository integration r=glandium,supply-chain-reviewers 2024-03-20 14:59:43 +00:00
__init__.py
.gdbinit
.gdbinit.loader
.gdbinit.py.in
.lldbinit.in
appini_header.py
application.ini.in
binary-location.mk
buildconfig.py
cargo-host-linker
cargo-host-linker.bat
cargo-linker
cargo-linker.bat
checksums.py
defines.sh
dumbmake-dependencies
gecko_templates.mozbuild Bug 1677775 - reformat .mozbuild files with Black r=linter-reviewers,geckoview-reviewers,firefox-build-system-reviewers,ahal,glandium,owlish,sylvestre 2023-12-08 04:26:45 +00:00
gen_symverscript.py
gen_test_packages_manifest.py
gyp_base.mozbuild Bug 1867459 - Replace CPU_ARCH with TARGET_CPU. r=firefox-build-system-reviewers,sergesanspaille 2023-12-08 10:43:59 +00:00
gyp.mozbuild Bug 1677775 - reformat .mozbuild files with Black r=linter-reviewers,geckoview-reviewers,firefox-build-system-reviewers,ahal,glandium,owlish,sylvestre 2023-12-08 04:26:45 +00:00
mach_initialize.py Bug 1884346 - Correctly display a human readable error message for a completely 'unknown' command r=firefox-build-system-reviewers,nalexander 2024-03-11 19:15:21 +00:00
midl.py Bug 1875052 - Change various RegEx patterns to raw strings to remove syntax warnings on Python 3.12 r=firefox-build-system-reviewers,glandium 2024-02-02 20:52:24 +00:00
moz-automation.mk Bug 1867459 - Replace CPU_ARCH with TARGET_CPU. r=firefox-build-system-reviewers,sergesanspaille 2023-12-08 10:43:59 +00:00
moz.build Bug 1854868: Remove the use of update-settings.ini on macOS and query the accepted MAR channels from the macOS Framework instead. r=bytesized 2024-02-21 18:50:32 +00:00
mozconfig.artifact Bug 1853088 - Remove win32 build from aarch64 windows builds. r=firefox-build-system-reviewers,media-playback-reviewers,taskgraph-reviewers,ahochheiden,gbrown,padenot 2023-09-19 08:29:07 +00:00
mozconfig.artifact.automation
mozconfig.automation
mozconfig.cache
mozconfig.clang-cl Bug 1880207 - Remove parts of Windows mozconfigs redundant with configure defaults. r=firefox-build-system-reviewers,sergesanspaille 2024-02-21 00:38:31 +00:00
mozconfig.common
mozconfig.common.override
mozconfig.no-compile
mozconfig.rust
mozconfig.win-common
non-unified-compat Bug 1770944 - remove /dom/browser-element/ path from other places, r=smaug,zeid 2024-03-07 13:04:24 +00:00
psutil_requirements.in
psutil_requirements.txt
qemu-wrap
RunCbindgen.py Bug 1884392 - Remove six dependency from RunCbindgen.py r=ahochheiden 2024-03-13 17:37:15 +00:00
templates.mozbuild Bug 1677775 - reformat .mozbuild files with Black r=linter-reviewers,geckoview-reviewers,firefox-build-system-reviewers,ahal,glandium,owlish,sylvestre 2023-12-08 04:26:45 +00:00
update-settings.ini
upload_generated_sources.py Bug 1884540 - Remove six dependency from build/ directory r=ahochheiden 2024-03-13 17:37:16 +00:00
upload.py
variables.py
zstandard_requirements.in Bug 1860630 - Upgrade zstandard to 0.22. r=firefox-build-system-reviewers,mach-reviewers,sergesanspaille,ahochheiden 2023-12-13 02:39:24 +00:00
zstandard_requirements.txt Bug 1860630 - Upgrade zstandard to 0.22. r=firefox-build-system-reviewers,mach-reviewers,sergesanspaille,ahochheiden 2023-12-13 02:39:24 +00:00