Only disable -Wnoexcept-type on gcc >= 7

This commit is contained in:
Jason Rhinelander 2017-05-09 14:46:15 -04:00
parent 616e3d8fa3
commit d15b217f1a

View File

@ -31,8 +31,10 @@
# pragma GCC diagnostic ignored "-Wmissing-field-initializers" # pragma GCC diagnostic ignored "-Wmissing-field-initializers"
# pragma GCC diagnostic ignored "-Wstrict-aliasing" # pragma GCC diagnostic ignored "-Wstrict-aliasing"
# pragma GCC diagnostic ignored "-Wattributes" # pragma GCC diagnostic ignored "-Wattributes"
# if __GNUC__ >= 7
# pragma GCC diagnostic ignored "-Wnoexcept-type" # pragma GCC diagnostic ignored "-Wnoexcept-type"
# endif # endif
#endif
#include "attr.h" #include "attr.h"
#include "options.h" #include "options.h"