summaryrefslogtreecommitdiff
path: root/src/diagnostics.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/diagnostics.hpp')
-rw-r--r--src/diagnostics.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/diagnostics.hpp b/src/diagnostics.hpp
index dab15b5..5eee323 100644
--- a/src/diagnostics.hpp
+++ b/src/diagnostics.hpp
@@ -600,7 +600,8 @@ namespace tmwa
/// Warn about maybe uninitialized automatic variables
#define DIAG_maybe_uninitialized "-Wmaybe-uninitialized"
-#if GCC >= 407
+// buggy in 4.7 with tmwa::Option<>
+#if GCC >= 408
# define HAS_DIAG_maybe_uninitialized 1
#else
# define HAS_DIAG_maybe_uninitialized 0