Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Moved -Wparentheses suppression before the push for GCC

Because of bugs in GCC 4 & 5 that prevent _Pragma from working :-(
Commit
7d0db6b8e9f0069c34fca820c70d7e318ddc25ef
Author
Phil Nash ·
Parents
8a7493cd8897

Files · Download .tar.gz

Changes

 include/internal/catch_suppress_warnings.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/internal/catch_suppress_warnings.h b/include/internal/catch_suppress_warnings.h
index d4ce9b71..92801142 100644
--- a/include/internal/catch_suppress_warnings.h
+++ b/include/internal/catch_suppress_warnings.h
@@ -18,7 +18,7 @@
 #    endif
 #elif defined __GNUC__
 #    pragma GCC diagnostic ignored "-Wunused-variable"
-#    pragma GCC diagnostic push
 #    pragma GCC diagnostic ignored "-Wparentheses"
+#    pragma GCC diagnostic push
 #    pragma GCC diagnostic ignored "-Wpadded"
 #endif