diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-10-10 12:57:35 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-10-10 16:12:26 +0200 |
commit | 4e4e16f9a94d4fb7e25cc21952845f2ab69a6ff9 (patch) | |
tree | fe7e9bbf08d5c5e66eefa8b0f42aad3ce885e83e /scene/2d | |
parent | 77f4670d001b12a5c7e1f50c100301c8fb1b4d1e (diff) |
SCons: Cleanup GCC warnings configuration
- Outright disable spammy warnings due to past or present GCC bugs:
* `-Wno-strict-overflow` for GCC 7.
* `-Wno-type-limits` for GCC before 11 (regressed in 9/10, might work in
earlier releases but at this stage we don't care).
* `-Wno-return-type` for GCC 12/13 (regression, still not fixed).
- Enable extra warnings conditionally when broken on earlier GCC:
* `-Wnoexcept` was removed due to an upstream regression in GCC 9, could
be re-enabled (but commented out for now as we actually have `-Wnoexcept`
warnings to fix.
* `-Wlogical-op` was broken on our variadic templates before GCC 11, now
seems fine.
Diffstat (limited to 'scene/2d')
0 files changed, 0 insertions, 0 deletions