Skip to content

Commit ed1ffe9

Browse files
committed
Fix macro check build failure
1 parent 6d9f48d commit ed1ffe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/hpp/fcl/fwd.hh

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
#define HPP_FCL_COMPILER_DIAGNOSTIC_POP _Pragma("GCC diagnostic pop")
9696
#define HPP_FCL_COMPILER_DIAGNOSTIC_IGNORED_DEPRECECATED_DECLARATIONS \
9797
_Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"")
98-
#if !defined(__has_warning) || __has_warning("-Wmaybe-uninitialized")
98+
#if defined(__has_warning) && __has_warning("-Wmaybe-uninitialized")
9999
#define HPP_FCL_COMPILER_DIAGNOSTIC_IGNORED_MAYBE_UNINITIALIZED \
100100
_Pragma("GCC diagnostic ignored \"-Wmaybe-uninitialized\"")
101101
#else

0 commit comments

Comments
 (0)