Skip to content

Commit 1abdf87

Browse files
committed
Fix balance diagnostics push-pop for gcc (PR 19 extra, PR #83)
1 parent fed30e6 commit 1abdf87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/lest/lest.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
# define lest_RESTORE_WARNINGS _Pragma( "clang diagnostic pop" )
105105

106106
#elif defined (__GNUC__)
107-
# define lest_SUPPRESS_WMISBRACES /*empty*/
107+
# define lest_SUPPRESS_WMISBRACES _Pragma( "GCC diagnostic push" )
108108
# define lest_SUPPRESS_WSHADOW _Pragma( "GCC diagnostic push" ) \
109109
_Pragma( "GCC diagnostic ignored \"-Wshadow\"" )
110110
# define lest_SUPPRESS_WUNUSED _Pragma( "GCC diagnostic push" ) \

0 commit comments

Comments
 (0)