We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d9f48d commit ed1ffe9Copy full SHA for ed1ffe9
include/hpp/fcl/fwd.hh
@@ -95,7 +95,7 @@
95
#define HPP_FCL_COMPILER_DIAGNOSTIC_POP _Pragma("GCC diagnostic pop")
96
#define HPP_FCL_COMPILER_DIAGNOSTIC_IGNORED_DEPRECECATED_DECLARATIONS \
97
_Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"")
98
-#if !defined(__has_warning) || __has_warning("-Wmaybe-uninitialized")
+#if defined(__has_warning) && __has_warning("-Wmaybe-uninitialized")
99
#define HPP_FCL_COMPILER_DIAGNOSTIC_IGNORED_MAYBE_UNINITIALIZED \
100
_Pragma("GCC diagnostic ignored \"-Wmaybe-uninitialized\"")
101
#else
0 commit comments