mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-27 13:52:23 +00:00
Only use #pragma warning on MSVC
This was SVN commit r6115.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(push, 3)
|
||||
|
||||
// it's way too much work to check all of these (runtime invariants may
|
||||
// ensure the code is safe but cannot automatically be proved by the
|
||||
// compiler)
|
||||
#pragma warning(disable:4701) // "potentially uninitialized variable"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user