From: sln Date: Wed, 3 Sep 2008 15:26:46 +0000 (+0000) Subject: #ifdef WIN32 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=57ad83b484a928423a51c37185218a66561d9f6c;p=modules%2Fgui.git #ifdef WIN32 #pragma warning( disable:4251 ) #endif --- diff --git a/src/GLViewer/GLViewer_Widget.h b/src/GLViewer/GLViewer_Widget.h index c1edf7efe..fba0aa381 100644 --- a/src/GLViewer/GLViewer_Widget.h +++ b/src/GLViewer/GLViewer_Widget.h @@ -27,10 +27,13 @@ #include "GLViewer.h" +#ifdef WIN32 +#pragma warning( disable:4251 ) +#endif + #include class QFile; - class GLViewer_ViewPort2d; class GLViewer_CoordSystem; diff --git a/src/LightApp/LightApp_DataObject.h b/src/LightApp/LightApp_DataObject.h index 77f3b7861..c94ecb768 100644 --- a/src/LightApp/LightApp_DataObject.h +++ b/src/LightApp/LightApp_DataObject.h @@ -29,6 +29,10 @@ class CAM_DataModel; class LightApp_Study; +#ifdef WIN32 +#pragma warning ( disable:4251 ) +#endif + class LIGHTAPP_EXPORT LightApp_DataObject : public virtual CAM_DataObject { class Key; diff --git a/src/LightApp/LightApp_DataOwner.h b/src/LightApp/LightApp_DataOwner.h index e2df564ef..9f22c4caa 100644 --- a/src/LightApp/LightApp_DataOwner.h +++ b/src/LightApp/LightApp_DataOwner.h @@ -27,6 +27,9 @@ #include "SALOME_InteractiveObject.hxx" #endif +#ifdef WIN32 +#pragma warning ( disable:4251 ) +#endif /*! This class provide data owner objects. diff --git a/src/LightApp/LightApp_VTKSelector.h b/src/LightApp/LightApp_VTKSelector.h index ff68f3507..bfdbc5d4b 100644 --- a/src/LightApp/LightApp_VTKSelector.h +++ b/src/LightApp/LightApp_VTKSelector.h @@ -25,6 +25,10 @@ #include +#ifdef WIN32 +#pragma warning( disable:4251 ) +#endif + class SUIT_Desktop; #ifndef DISABLE_VTKVIEWER diff --git a/src/SUIT/SUIT_OverrideCursor.h b/src/SUIT/SUIT_OverrideCursor.h index 90e9dc7c4..37c26f6df 100755 --- a/src/SUIT/SUIT_OverrideCursor.h +++ b/src/SUIT/SUIT_OverrideCursor.h @@ -24,6 +24,10 @@ #include #include +#ifdef WIN32 +#pragma warning( disable:4251 ) +#endif + /*! \brief Class used for management cursors.*/ class SUIT_EXPORT SUIT_OverrideCursor { diff --git a/src/SVTK/SVTK_Selector.h b/src/SVTK/SVTK_Selector.h index 0d65de7e3..3cb1bed65 100644 --- a/src/SVTK/SVTK_Selector.h +++ b/src/SVTK/SVTK_Selector.h @@ -41,7 +41,7 @@ class Handle(VTKViewer_Filter); class SALOME_Actor; -class SVTK_SelectionEvent; +struct SVTK_SelectionEvent; class vtkRenderer; class Handle(SALOME_InteractiveObject);