summaryrefslogtreecommitdiff
path: root/boost/polygon/gtl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/polygon/gtl.hpp')
-rw-r--r--boost/polygon/gtl.hpp14
1 files changed, 11 insertions, 3 deletions
diff --git a/boost/polygon/gtl.hpp b/boost/polygon/gtl.hpp
index cabbb63466..1fc1a574d4 100644
--- a/boost/polygon/gtl.hpp
+++ b/boost/polygon/gtl.hpp
@@ -1,6 +1,6 @@
/*
Copyright 2008 Intel Corporation
-
+
Use, modification and distribution are subject to the Boost Software License,
Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt).
@@ -9,10 +9,12 @@
#define GTL_GTL_HPP
#ifdef __ICC
+#pragma warning (push)
#pragma warning (disable:1125)
#endif
#ifdef WIN32
+#pragma warning (push)
#pragma warning( disable: 4996 )
#pragma warning( disable: 4800 )
#endif
@@ -21,7 +23,13 @@
#include "polygon.hpp"
namespace gtl = boost::polygon;
using namespace boost::polygon::operators;
-#if __ICC
-#pragma warning (default:1125)
+
+#ifdef WIN32
+#pragma warning (pop)
#endif
+
+#ifdef __ICC
+#pragma warning (pop)
+#endif
+
#endif