From 2179b9f49114e06cd85f6338f5e7335a7ed7ae31 Mon Sep 17 00:00:00 2001 From: sln Date: Tue, 11 Nov 2008 08:08:13 +0000 Subject: [PATCH] Compilation warnings removed for WNT --- src/LightApp/LightApp_DataObject.h | 5 +++++ src/LightApp/LightApp_DataOwner.h | 3 +++ 2 files changed, 8 insertions(+) diff --git a/src/LightApp/LightApp_DataObject.h b/src/LightApp/LightApp_DataObject.h index fe4f7cb40..46fead524 100644 --- a/src/LightApp/LightApp_DataObject.h +++ b/src/LightApp/LightApp_DataObject.h @@ -29,6 +29,11 @@ class CAM_DataModel; class LightApp_Study; +#ifdef WIN32 +#pragma warning ( disable:4251 ) +#pragma warning ( disable:4250 ) +#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. -- 2.39.2