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:
Robert Osfield 2009-03-23 16:31:50 +00:00
parent e89deb0f79
commit 1f251b4df5

View File

@ -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 )