forked from 0ad/0ad
Everything-except-for-VS2005 fix: disable warning disabling to avoid warnings
This was SVN commit r2456.
This commit is contained in:
parent
2ea40a23a3
commit
580d0c7892
@ -9,11 +9,12 @@
|
||||
// this policy yields the best compile performance with or without PCH.
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable:4996) // function is deprecated
|
||||
#pragma warning(disable:4786) // identifier truncated to 255 chars
|
||||
// VS2005 code analysis warnings - disable the very frequent ones:
|
||||
#pragma warning(disable:6011) // dereferencing NULL pointer
|
||||
#pragma warning(disable:6246) // local declaration hides declaration of the same name in outer scope
|
||||
# pragma warning(disable:4996) // function is deprecated
|
||||
# pragma warning(disable:4786) // identifier truncated to 255 chars
|
||||
# if _MSC_VER >= 1400 // VS2005 code analysis warnings - disable the very frequent ones:
|
||||
# pragma warning(disable:6011) // dereferencing NULL pointer
|
||||
# pragma warning(disable:6246) // local declaration hides declaration of the same name in outer scope
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// make these available everywhere for convenience:
|
||||
|
Loading…
Reference in New Issue
Block a user