Commit 83aecd628ede1bf1b477c945ea6338efc4490be8

Authored by Jarryd Beck
1 parent 6c8a41a2

Fix pragmas

Showing 1 changed file with 1 additions and 1 deletions
include/cxxopts.hpp
... ... @@ -85,7 +85,7 @@ THE SOFTWARE.
85 85 #define DO_PRAGMA(x) _Pragma(#x)
86 86 #define CXXOPTS_DIAGNOSTIC_PUSH DO_PRAGMA(GCC diagnostic push)
87 87 #define CXXOPTS_DIAGNOSTIC_POP DO_PRAGMA(GCC diagnostic pop)
88   -#define CXXOPTS_IGNORE_WARNING(x) DO_PRAGMA(GCC diagnostic ignored #x)
  88 +#define CXXOPTS_IGNORE_WARNING(x) DO_PRAGMA(GCC diagnostic ignored x)
89 89 #endif
90 90  
91 91 namespace cxxopts {
... ...