diff --git a/src/osgPlugins/txp/TrPageArchive.cpp b/src/osgPlugins/txp/TrPageArchive.cpp index b01c65ffa..e0b08bd89 100644 --- a/src/osgPlugins/txp/TrPageArchive.cpp +++ b/src/osgPlugins/txp/TrPageArchive.cpp @@ -32,6 +32,12 @@ using namespace txp; using namespace osg; +// disable 'this' used in base pointer initilialization.. +#if defined(WIN32) && !(defined(__CYGWIN__) || defined(__MINGW32__)) + #pragma warning( disable : 4355 ) +#endif + + TrPageArchive::TrPageArchive() : trpgr_Archive() , parse(new TrPageParser(this))