Skip to content

Commit

Permalink
Fix CATCH_INTERNAL_SUPPRESS_PARENTHESES_WARNINGS: GCC needs to be cap…
Browse files Browse the repository at this point in the history
…italized.

Fixes issue catchorg#600.
  • Loading branch information
DavidEGrayson committed Mar 5, 2016
1 parent ae5ee2c commit 97e3354
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/internal/catch_compiler_capabilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
# endif

# if !defined(CATCH_INTERNAL_SUPPRESS_PARENTHESES_WARNINGS) && defined(CATCH_CPP11_OR_GREATER)
# define CATCH_INTERNAL_SUPPRESS_PARENTHESES_WARNINGS _Pragma( "gcc diagnostic ignored \"-Wparentheses\"" )
# define CATCH_INTERNAL_SUPPRESS_PARENTHESES_WARNINGS _Pragma( "GCC diagnostic ignored \"-Wparentheses\"" )
# endif

// - otherwise more recent versions define __cplusplus >= 201103L
Expand Down

0 comments on commit 97e3354

Please sign in to comment.