From Csaba Halasz, "I have modified FltExportVisitor to use _MSC_VER instead of _WIN32 in
the condition around a #pragma warning that is specific to visual studio as _WIN32 is also defined for mingw compile but the #pragma is not applicable there."
This commit is contained in:
parent
e89deb0f79
commit
1f251b4df5
@ -50,7 +50,7 @@
|
||||
#include <osgSim/LightPointNode>
|
||||
#include <osgSim/ObjectRecordData>
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifdef _MSC_VER
|
||||
// Disable this warning. It's OK for us to use 'this' in initializer list,
|
||||
// as the texturePaletteManager merely stores a ref to it.
|
||||
#pragma warning( disable : 4355 )
|
||||
|
Loading…
Reference in New Issue
Block a user