summaryrefslogtreecommitdiff
path: root/utils/warning_push.h
diff options
context:
space:
mode:
authorgraehl@gmail.com <graehl@gmail.com@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-15 03:35:23 +0000
committergraehl@gmail.com <graehl@gmail.com@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-15 03:35:23 +0000
commit695ee5c0b87365857925ecb53a45b97ba4582974 (patch)
tree6e5f87c7bfa4a97b09d3a4bb9f2909e41bde1118 /utils/warning_push.h
parent09bbe07fedcdf74f9d0bb28510fe5f3bf0748f6a (diff)
warning
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@551 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'utils/warning_push.h')
-rw-r--r--utils/warning_push.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/utils/warning_push.h b/utils/warning_push.h
new file mode 100644
index 00000000..086fd524
--- /dev/null
+++ b/utils/warning_push.h
@@ -0,0 +1,8 @@
+#ifdef _MSC_VER
+#pragma warning( pop )
+#else
+#include "warning_compiler.h"
+#if HAVE_DIAGNOSTIC_PUSH
+# pragma GCC diagnostic push
+#endif
+#endif