wxGTK/gcc11_3.patch

13 lines
599 B
Diff

diff -up wxWidgets-3.1.5/tests/allheaders.cpp.gcc11 wxWidgets-3.1.5/tests/allheaders.cpp
--- wxWidgets-3.1.5/tests/allheaders.cpp.gcc11 2021-04-28 19:26:22.953235862 -0400
+++ wxWidgets-3.1.5/tests/allheaders.cpp 2021-04-28 19:28:05.179956623 -0400
@@ -342,7 +342,7 @@
// wxWARNING_SUPPRESS_MISSING_OVERRIDE() inside wxRTTI macros is just
// ignored by gcc up to 9.x for some reason, so we have no choice but to
// disable it.
-#if CHECK_GCC_VERSION(5,1) && !CHECK_GCC_VERSION(9,0)
+#if CHECK_GCC_VERSION(5,1) && !CHECK_GCC_VERSION(11,2)
GCC_TURN_OFF(suggest-override)
#endif