Fix pragmas
This commit is contained in:
parent
6c8a41a229
commit
83aecd628e
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user