Salome HOME
Get rid of compilation warnings. Part II. MSVC warnings.
[modules/shaper.git] / src / Config / Config_swig.h
index 1b0d6f300488c0c52dde0040b0cb3c865a559157..036c6d697718db80d74fadf1b1f0bd01f61d1116 100644 (file)
   #include "Config_ValidatorReader.h"
   #include "Config_XMLReader.h"
 
+  #ifdef _MSC_VER
+  # pragma warning(disable: 4127) // conditional expression is constant
+  # pragma warning(disable: 4456) // declaration of variable hides previous local declaration
+  # pragma warning(disable: 4459) // declaration of variable hides global declaration
+  # pragma warning(disable: 4701) // potentially uninitialized local variable
+  # pragma warning(disable: 4703) // potentially uninitialized local pointer variable
+  #endif
+
 #endif /* SRC_CONFIG_SWIG_H_ */