push/pop warnings when disabling parentheses warnings within assertion (gcc/ clang)

This commit is contained in:
Phil Nash 2017-02-15 09:38:38 +00:00
parent c9a37c59c4
commit fe690a68ef
2 changed files with 14 additions and 2 deletions

View file

@ -45,6 +45,7 @@
try { \
CATCH_INTERNAL_SUPPRESS_PARENTHESES_WARNINGS \
( __catchResult <= expr ).endExpression(); \
CATCH_INTERNAL_UNSUPPRESS_PARENTHESES_WARNINGS \
} \
catch( ... ) { \
__catchResult.useActiveException( resultDisposition ); \