summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pugixml.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp
index a0f8cc6..7dadede 100644
--- a/src/pugixml.cpp
+++ b/src/pugixml.cpp
@@ -67,7 +67,7 @@
#endif
#ifdef __SNC__
-# pragma diag_push
+// Using diag_push/diag_pop does not disable the warnings inside templates due to a compiler bug
# pragma diag_suppress=178 // function was declared but never referenced
# pragma diag_suppress=237 // controlling expression is constant
#endif
@@ -10187,11 +10187,6 @@ namespace pugi
#endif
-// SNC seems to have the same bug as Intel (below); I need to test more versions to do a proper check here
-// #ifdef __SNC__
-// # pragma diag_pop
-// #endif
-
#ifdef __BORLANDC__
# pragma option pop
#endif