Added pragma to shut VS 6 up.
This commit is contained in:
parent
30f5f88eb3
commit
61d374b726
@ -1,3 +1,21 @@
|
|||||||
|
#ifdef WIN32
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Disable unavoidable warning messages:
|
||||||
|
|
||||||
|
// 4103: used #pragma pack to change alignment
|
||||||
|
// 4114: same type qualifier used more than once
|
||||||
|
// 4201: nonstandard extension used : nameless struct/union
|
||||||
|
// 4237: "keyword" reserved for future use
|
||||||
|
// 4251: class needs to have dll-interface to export class
|
||||||
|
// 4275: non DLL-interface class used as base for DLL-interface class
|
||||||
|
// 4290: C++ Exception Specification ignored
|
||||||
|
// 4503: decorated name length exceeded, name was truncated
|
||||||
|
// 4786: string too long - truncated to 255 characters
|
||||||
|
|
||||||
|
#pragma warning(disable : 4103 4114 4201 4237 4251 4275 4290 4503 4335 4786)
|
||||||
|
|
||||||
|
#endif // WIN32
|
||||||
|
|
||||||
#include <osgProducer/Viewer>
|
#include <osgProducer/Viewer>
|
||||||
|
|
||||||
#include <osg/Group>
|
#include <osg/Group>
|
||||||
|
Loading…
Reference in New Issue
Block a user