From cf06b40891a67fe4d7f71e85d7a0d8038c72074a Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 24 May 2005 18:57:13 +0000 Subject: [PATCH] Added pragma to remove warnings under VS.8.0 --- include/osg/Export | 1 + include/osgDB/Export | 1 + include/osgGA/Export | 1 + include/osgParticle/Export | 1 + include/osgProducer/Export | 1 + include/osgSim/Export | 1 + include/osgTerrain/Export | 1 + include/osgText/Export | 1 + include/osgUtil/Export | 1 + 9 files changed, 9 insertions(+) diff --git a/include/osg/Export b/include/osg/Export index 7207bae64..24e5ba83e 100644 --- a/include/osg/Export +++ b/include/osg/Export @@ -27,6 +27,7 @@ #pragma warning( disable : 4290 ) #pragma warning( disable : 4786 ) #pragma warning( disable : 4305 ) + #pragma warning( disable : 4996 ) #endif #if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__) || defined( __MWERKS__) diff --git a/include/osgDB/Export b/include/osgDB/Export index 437405573..ac0e604f5 100644 --- a/include/osgDB/Export +++ b/include/osgDB/Export @@ -22,6 +22,7 @@ #pragma warning( disable : 4290 ) #pragma warning( disable : 4786 ) #pragma warning( disable : 4305 ) + #pragma warning( disable : 4996 ) #endif #if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__) || defined( __MWERKS__) diff --git a/include/osgGA/Export b/include/osgGA/Export index a33432b1e..fc376dfb9 100644 --- a/include/osgGA/Export +++ b/include/osgGA/Export @@ -23,6 +23,7 @@ #pragma warning( disable : 4290 ) #pragma warning( disable : 4786 ) #pragma warning( disable : 4305 ) + #pragma warning( disable : 4996 ) #endif #if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__) || defined( __MWERKS__) diff --git a/include/osgParticle/Export b/include/osgParticle/Export index 700eefddd..ebf8b816b 100644 --- a/include/osgParticle/Export +++ b/include/osgParticle/Export @@ -22,6 +22,7 @@ #pragma warning( disable : 4786 ) #pragma warning( disable : 4290 ) #pragma warning( disable : 4305 ) + #pragma warning( disable : 4996 ) #endif diff --git a/include/osgProducer/Export b/include/osgProducer/Export index eef30d8be..a42295b83 100644 --- a/include/osgProducer/Export +++ b/include/osgProducer/Export @@ -23,6 +23,7 @@ #pragma warning( disable : 4290 ) #pragma warning( disable : 4786 ) #pragma warning( disable : 4305 ) + #pragma warning( disable : 4996 ) #endif #if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__) || defined( __MWERKS__) diff --git a/include/osgSim/Export b/include/osgSim/Export index 2ebd862c3..2fdbb6f35 100644 --- a/include/osgSim/Export +++ b/include/osgSim/Export @@ -21,6 +21,7 @@ #pragma warning( disable : 4786 ) #pragma warning( disable : 4290 ) #pragma warning( disable : 4305 ) + #pragma warning( disable : 4996 ) #endif #if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__) || defined( __MWERKS__) diff --git a/include/osgTerrain/Export b/include/osgTerrain/Export index ccd4a11ac..8fdf4f871 100644 --- a/include/osgTerrain/Export +++ b/include/osgTerrain/Export @@ -22,6 +22,7 @@ #pragma warning( disable : 4290 ) #pragma warning( disable : 4786 ) #pragma warning( disable : 4305 ) + #pragma warning( disable : 4996 ) #endif #if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__) diff --git a/include/osgText/Export b/include/osgText/Export index 3cc1dac25..386a2136d 100644 --- a/include/osgText/Export +++ b/include/osgText/Export @@ -22,6 +22,7 @@ #pragma warning( disable : 4290 ) #pragma warning( disable : 4786 ) #pragma warning( disable : 4305 ) + #pragma warning( disable : 4996 ) #endif #if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__) diff --git a/include/osgUtil/Export b/include/osgUtil/Export index ddc5c886a..8e9171058 100644 --- a/include/osgUtil/Export +++ b/include/osgUtil/Export @@ -23,6 +23,7 @@ #pragma warning( disable : 4290 ) #pragma warning( disable : 4786 ) #pragma warning( disable : 4305 ) + #pragma warning( disable : 4996 ) #endif #if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__) || defined( __MWERKS__)