Skip to content
Snippets Groups Projects
Commit aed9dd0a authored by Peterson, Peter's avatar Peterson, Peter
Browse files

Re #7679. Don't pop warnings for big compile includes.

parent 6cac31aa
No related branches found
No related tags found
No related merge requests found
......@@ -19,13 +19,3 @@ GCC_DIAG_OFF(vla)
#include "ICat3/GSoapGenerated/soapC.cpp"
#include "ICat3/GSoapGenerated/soapICATPortBindingProxy.cpp"
GCC_DIAG_ON(cast-qual)
GCC_DIAG_ON(conversion)
GCC_DIAG_ON(unused-parameter)
GCC_DIAG_ON(strict-aliasing)
GCC_DIAG_ON(format)
GCC_DIAG_ON(vla)
#if GCC_VERSION > 40700 // 4.8.0
GCC_DIAG_ON(literal-suffix)
#endif // GCC_VERSION
......@@ -49,7 +49,7 @@
// define macros for turning the warning suppression on/off
#if GCC_VERSION >= 40600 // 4.6.0
#define GCC_DIAG_OFF(x) GCC_DIAG_PRAGMA(push) \
GCC_DIAG_PRAGMA(ignored GCC_DIAG_JOINSTR(-W,x))
GCC_DIAG_PRAGMA(ignored GCC_DIAG_JOINSTR(-W,x))
#define GCC_DIAG_ON(x) GCC_DIAG_PRAGMA(pop)
#else
#define GCC_DIAG_OFF(x) GCC_DIAG_PRAGMA(ignored GCC_DIAG_JOINSTR(-W,x))
......
......@@ -73,14 +73,3 @@ GCC_DIAG_OFF(uninitialized)
#include "boostpython/str.cpp"
#include "boostpython/tuple.cpp"
#include "boostpython/wrapper.cpp"
GCC_DIAG_ON(conversion)
GCC_DIAG_ON(missing-field-initializers)
GCC_DIAG_ON(unused-parameter)
GCC_DIAG_ON(type-limits)
GCC_DIAG_ON(unused-value)
GCC_DIAG_ON(strict-aliasing)
GCC_DIAG_ON(uninitialized)
#if GCC_VERSION >= 40800 // 4.8.0
GCC_DIAG_ON(unused-local-typedefs)
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment