summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2021-05-27 14:24:53 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2021-06-18 15:14:02 +0200
commitf29ff5dffb7f9321d2bfb6071813d2d8d88186b3 (patch)
treed0a086095ff9e7a8fbb9f216fd0970e44e1af3e6 /src/widgets
parent30399fb95cf8b528ac4b45766ac55c6f0a16e2f4 (diff)
Add GCC 11 and C++20 workarounds
GCC 11.1 has a bug [1] in the preprocessor that leads to -Wsuggest-override warnings being raised in random places, even under pragmas that are supposed to suppress it. For some reason, NOT using the integrated preprocessor fixes it, so add that flag as a workaround. Also, GCC 11 introduces a family of warnings for C++20's deprecations of mixed enum arithmetic, which we use all over the place. Avoid a hard error for those warnings. [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100796 Change-Id: I3b2aefa385f191f207e7eb876bc1ed0b18fb342b Pick-to: 6.1 6.2 Task-number: QTBUG-93360 Task-number: QTBUG-94059 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/widgets')
0 files changed, 0 insertions, 0 deletions