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
1 changed files with 1 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue