From 6b8887fe61b06a6f124331bbbfeca195fdee796c Mon Sep 17 00:00:00 2001 From: Matt Godbolt Date: Mon, 19 Oct 2015 20:34:08 -0500 Subject: [PATCH] Fix warnings with gcc 4.7 and -Werror=parentheses --- include/internal/catch_suppress_warnings.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/internal/catch_suppress_warnings.h b/include/internal/catch_suppress_warnings.h index 094ed98b..e5d9213b 100644 --- a/include/internal/catch_suppress_warnings.h +++ b/include/internal/catch_suppress_warnings.h @@ -23,6 +23,7 @@ #elif defined __GNUC__ # pragma GCC diagnostic ignored "-Wvariadic-macros" # pragma GCC diagnostic ignored "-Wunused-variable" +# pragma GCC diagnostic ignored "-Wparentheses" # pragma GCC diagnostic push # pragma GCC diagnostic ignored "-Wpadded" #endif