Removed diag_push for SNC since the warning bug is not fixed even in the latest version
git-svn-id: http://pugixml.googlecode.com/svn/trunk@901 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
parent
78f8662d33
commit
b1a1eef0c8
@ -67,7 +67,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __SNC__
|
#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=178 // function was declared but never referenced
|
||||||
# pragma diag_suppress=237 // controlling expression is constant
|
# pragma diag_suppress=237 // controlling expression is constant
|
||||||
#endif
|
#endif
|
||||||
@ -10187,11 +10187,6 @@ namespace pugi
|
|||||||
|
|
||||||
#endif
|
#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__
|
#ifdef __BORLANDC__
|
||||||
# pragma option pop
|
# pragma option pop
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user