gecko-dev/build/moz.configure
Chris Peterson eb00c7365e Bug 1807583 - Enable -Wtautological-constant-in-range-compare warnings. r=firefox-build-system-reviewers,glandium
There are no -Wtautological-constant-in-range-compare warnings in C or C++ code in mozilla-central, so we can enable this warning.

However, the -Wtautological-constant-in-range-compare flag also enables -Wtautological-value-range-compare warnings and there are some -Wtautological-value-range-compare warnings in some third-party C code.

I filed https://bugs.chromium.org/p/google-breakpad/issues/detail?id=859 for the Google Breakpad warning.

---

toolkit/crashreporter/google-breakpad/src/third_party/libdisasm/ia32_invariant.c:112:30 [-Wtautological-value-range-compare] result of comparison of 3-bit unsigned value == 101 is always false

js/src/zydis/Zydis/Decoder.c:2200:43 [-Wtautological-value-range-compare] result of comparison of 2-bit unsigned value < 4 is always true
js/src/zydis/Zydis/Decoder.c:2213:43 [-Wtautological-value-range-compare] result of comparison of 2-bit unsigned value < 4 is always true
js/src/zydis/Zydis/Decoder.c:2226:43 [-Wtautological-value-range-compare] result of comparison of 2-bit unsigned value < 4 is always true
js/src/zydis/Zydis/Decoder.c:3650:46 [-Wtautological-value-range-compare] result of comparison of 3-bit unsigned value < 8 is always true
js/src/zydis/Zydis/SharedData.c:119:47 [-Wtautological-value-range-compare] result of comparison of 15-bit unsigned value != 65535 is always true

third_party/aom/aom_dsp/intrapred.c:94:3 [-Wtautological-value-range-compare] result of comparison of 4-bit unsigned value < 31 is always true
third_party/aom/aom_dsp/intrapred.c:123:3 [-Wtautological-value-range-compare] result of comparison of 4-bit unsigned value < 31 is always true
third_party/aom/aom_dsp/intrapred.c:152:3 [-Wtautological-value-range-compare] result of comparison of 4-bit unsigned value < 31 is always true
third_party/aom/aom_dsp/intrapred.c:413:3 [-Wtautological-value-range-compare] result of comparison of 4-bit unsigned value < 31 is always true
third_party/aom/aom_dsp/intrapred.c:444:3 [-Wtautological-value-range-compare] result of comparison of 4-bit unsigned value < 31 is always true
third_party/aom/aom_dsp/intrapred.c:475:3 [-Wtautological-value-range-compare] result of comparison of 4-bit unsigned value < 31 is always true

Differential Revision: https://phabricator.services.mozilla.com/D165522
2023-01-20 04:53:27 +00:00
..
android-ndk.configure Bug 1750893 - Move Android linker flags to python configure. r=firefox-build-system-reviewers,mhentges 2022-01-19 21:32:10 +00:00
android-sdk.configure Bug 1807522 - Upgrade build-tools to 33.0.1. r=geckoview-reviewers,calu 2023-01-05 02:56:32 +00:00
arm.configure Bug 1791482 - Use ARM neon flags more consistently. r=firefox-build-system-reviewers,andi 2022-09-20 09:12:31 +00:00
bindgen.configure Bug 1791480 - Handle the situation when clang doesn't have the same default C++ standard for host and target. r=firefox-build-system-reviewers,andi 2022-09-22 08:01:17 +00:00
bootstrap.configure Bug 1802290 - Remove +x permissions on more files r=linter-reviewers,andi 2023-01-03 08:17:50 +00:00
checks.configure Bug 1289641 - Allow spaces in MIDL and FXC paths. r=firefox-build-system-reviewers,nalexander 2022-04-12 22:52:54 +00:00
compile-checks.configure Bug 1802290 - Remove +x permissions on more files r=linter-reviewers,andi 2023-01-03 08:17:50 +00:00
compilers-util.configure Bug 1747145 - Add more configure checks for the wasm toolchain setup. r=firefox-build-system-reviewers,ahochheiden 2023-01-18 23:39:05 +00:00
flags.configure Bug 1769180 - Reject --disable-new-pass-manager with clang >= 15. r=firefox-build-system-reviewers,andi 2022-05-24 08:21:42 +00:00
headers.configure
init.configure Bug 1806727 - Add an option to easily build with release configuration. r=glandium 2023-01-10 09:27:26 +00:00
java.configure Bug 1740358 - Download Java from adoptium. r=mhentges,glandium 2021-11-30 16:10:59 +00:00
keyfiles.configure
lto-pgo.configure Bug 1747533 - Update clang pass manager flags handling. r=firefox-build-system-reviewers,andi 2021-12-31 08:41:16 +00:00
memory.configure Bug 1747970 - Move AC_CHECK_FUNC{,S} to python configure. r=firefox-build-system-reviewers,andi 2022-01-20 21:01:20 +00:00
node.configure
nspr.configure Backed out changeset 028a7f4e4b32 (bug 1776255) for causing Linux artifact builds bustages on central CLOSED TREE 2022-11-26 17:13:36 -05:00
nss.configure Bug 1808725 - land NSS NSS_3_88_BETA1 UPGRADE_NSS_RELEASE, r=nss-reviewers,jschanck 2023-01-19 19:22:53 +00:00
old.configure Bug 1802405 - Prepend mozillabuild msys2 to path only for the build. r=glandium 2022-11-26 23:23:34 +00:00
pkg.configure Backed out changeset 028a7f4e4b32 (bug 1776255) for causing Linux artifact builds bustages on central CLOSED TREE 2022-11-26 17:13:36 -05:00
rust.configure Bug 1801746 - Fail more gracefully when rustc is not found after bug 1791476. r=firefox-build-system-reviewers,ahochheiden 2022-11-22 20:45:11 +00:00
toolchain.configure Bug 1804226 - fma3 support for AudioNodeEngine r=padenot 2023-01-16 11:05:20 +00:00
update-programs.configure Bug 1786667 - Don't access update components in BrowserGlue if Firefox was not built with support for them r=bhearsum,preferences-reviewers 2022-09-09 15:01:13 +00:00
util.configure Bug 1796542 - Allow nonexistent path with allow_space=True r=glandium,firefox-build-system-reviewers 2022-10-20 20:22:50 +00:00
warnings.configure Bug 1807583 - Enable -Wtautological-constant-in-range-compare warnings. r=firefox-build-system-reviewers,glandium 2023-01-20 04:53:27 +00:00
windows.configure Bug 1807780 - Use -ivfsoverlay instead of liblowercase. r=firefox-build-system-reviewers,ahochheiden 2022-12-29 00:05:49 +00:00