diff options
author | Jarryd Beck <jarro.2783@gmail.com> | 2022-07-20 10:37:37 +0300 |
---|---|---|
committer | Jarryd Beck <jarro.2783@gmail.com> | 2022-07-20 10:37:37 +0300 |
commit | 83aecd628ede1bf1b477c945ea6338efc4490be8 (patch) | |
tree | 032f3df8ba4a860da7086e49ead01adfce4e239c | |
parent | 6c8a41a229e133e6f9a0f5c9b490870afc1a31f1 (diff) |
Fix pragmas
-rw-r--r-- | include/cxxopts.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cxxopts.hpp b/include/cxxopts.hpp index d3bc5a5..0b4bd07 100644 --- a/include/cxxopts.hpp +++ b/include/cxxopts.hpp @@ -85,7 +85,7 @@ THE SOFTWARE. #define DO_PRAGMA(x) _Pragma(#x) #define CXXOPTS_DIAGNOSTIC_PUSH DO_PRAGMA(GCC diagnostic push) #define CXXOPTS_DIAGNOSTIC_POP DO_PRAGMA(GCC diagnostic pop) -#define CXXOPTS_IGNORE_WARNING(x) DO_PRAGMA(GCC diagnostic ignored #x) +#define CXXOPTS_IGNORE_WARNING(x) DO_PRAGMA(GCC diagnostic ignored x) #endif namespace cxxopts { |