summaryrefslogtreecommitdiff
path: root/utils/warning_pop.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/warning_pop.h')
-rw-r--r--utils/warning_pop.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/utils/warning_pop.h b/utils/warning_pop.h
new file mode 100644
index 00000000..2be5d9ed
--- /dev/null
+++ b/utils/warning_pop.h
@@ -0,0 +1,8 @@
+#ifdef _MSC_VER
+#pragma warning( pop )
+#else
+#include "warning_compiler.h"
+#if HAVE_DIAGNOSTIC_PUSH
+# pragma GCC diagnostic pop
+#endif
+#endif