]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Remove extra warnings
authorvsv <vsv@opencascade.com>
Mon, 11 Mar 2019 11:52:20 +0000 (14:52 +0300)
committervsv <vsv@opencascade.com>
Mon, 11 Mar 2019 11:52:56 +0000 (14:52 +0300)
22 files changed:
.salomeport [new file with mode: 0644]
doc/swig/doxyfile.in
src/BuildAPI/CMakeLists.txt
src/CollectionAPI/CMakeLists.txt
src/Config/CMakeLists.txt
src/ConnectorAPI/CMakeLists.txt
src/ConstructionAPI/CMakeLists.txt
src/Events/CMakeLists.txt
src/ExchangeAPI/CMakeLists.txt
src/FeaturesAPI/CMakeLists.txt
src/GDMLAPI/CMakeLists.txt
src/GeomAPI/CMakeLists.txt
src/GeomAlgoAPI/CMakeLists.txt
src/GeomDataAPI/CMakeLists.txt
src/ModelAPI/CMakeLists.txt
src/ModelGeomAlgo/CMakeLists.txt
src/ModelHighAPI/CMakeLists.txt
src/ParametersAPI/CMakeLists.txt
src/PartSetAPI/CMakeLists.txt
src/PrimitivesAPI/CMakeLists.txt
src/SketchAPI/CMakeLists.txt
src/SketchSolver/PlaneGCSSolver/CMakeLists.txt

diff --git a/.salomeport b/.salomeport
new file mode 100644 (file)
index 0000000..145d7e2
--- /dev/null
@@ -0,0 +1 @@
+2810
\ No newline at end of file
index 60b3b276e883e848234e2edd9a34ad5776d95e3d..eded674971f4a402f68411fe7848f00b4c0e0fa3 100644 (file)
@@ -43,7 +43,7 @@ SUBGROUPING            = YES
 INLINE_GROUPED_CLASSES = NO
 INLINE_SIMPLE_STRUCTS  = NO
 TYPEDEF_HIDES_STRUCT   = NO
-SYMBOL_CACHE_SIZE      = 0
+#SYMBOL_CACHE_SIZE      = 0
 LOOKUP_CACHE_SIZE      = 0
 #---------------------------------------------------------------------------
 # Build related configuration options
@@ -230,8 +230,8 @@ MAN_LINKS              = NO
 #---------------------------------------------------------------------------
 GENERATE_XML           = YES
 XML_OUTPUT             = xml
-XML_SCHEMA             =
-XML_DTD                =
+#XML_SCHEMA             =
+#XML_DTD                =
 XML_PROGRAMLISTING     = YES
 #---------------------------------------------------------------------------
 # configuration options for the AutoGen Definitions output
index 8e5aab018f9499c23e0c21443e99e46a3f18a063..dc22140869a980401ecbcf6976081b1e0db9272b 100644 (file)
@@ -88,6 +88,7 @@ SET(SWIG_LINK_LIBRARIES
   ModelAPI
   ${PYTHON_LIBRARIES}
 )
+SET(CMAKE_SWIG_FLAGS -threads -w325,321,302,362,322,383,403)
 
 SET(SWIG_MODULE_BuildAPI_EXTRA_DEPS ${SWIG_MODULE_BuildAPI_EXTRA_DEPS}
   ${PROJECT_SOURCE_DIR}/src/ModelHighAPI/ModelHighAPI.i
index a29a97b96bfacf05d5811eb4b2aed8386e214f2e..0b2815bdd7250efc16593edcce438936a3efd033 100644 (file)
@@ -57,6 +57,8 @@ TARGET_LINK_LIBRARIES(CollectionAPI ${PROJECT_LIBRARIES})
 
 INCLUDE(PythonAPI)
 
+SET(CMAKE_SWIG_FLAGS -threads -w325,321,302,362,322,383,403,509)
+
 SET_SOURCE_FILES_PROPERTIES(CollectionAPI.i PROPERTIES CPLUSPLUS ON)
 SET_SOURCE_FILES_PROPERTIES(CollectionAPI.i PROPERTIES SWIG_DEFINITIONS "-shadow")
 
index 0f98399769c2a7e127891688b50cdb37ffc1bdff..d4d09b6a5d52213ba5d6b90cefd07d86d8a0a355 100644 (file)
@@ -66,7 +66,7 @@ SET(PROJECT_SOURCES
   Config_Translator.cpp
 )
 
-SET(CMAKE_SWIG_FLAGS -threads -Wall)
+SET(CMAKE_SWIG_FLAGS -threads -w321,401)
 SET_SOURCE_FILES_PROPERTIES(ConfigAPI.i PROPERTIES CPLUSPLUS ON)
 SET_SOURCE_FILES_PROPERTIES(ConfigAPI.i PROPERTIES SWIG_DEFINITIONS "-shadow")
 SET(SWIG_SCRIPTS
index c604d3455fac59e61370f2af7cff25abf05d163c..dabb5bdc3ab7130fa9cae6959876e65f62ee4fbb 100644 (file)
@@ -73,6 +73,7 @@ SET(SWIG_MODULE_ConnectorAPI_EXTRA_DEPS ${SWIG_MODULE_ConnectorAPI_EXTRA_DEPS}
   doxyhelp.i
   ${PROJECT_HEADERS}
 )
+SET(CMAKE_SWIG_FLAGS -threads -w325,321,302,362,322,383,403)
 
 IF(${CMAKE_VERSION} VERSION_GREATER "3.8.0")
   SWIG_ADD_LIBRARY(ConnectorAPI LANGUAGE python SOURCES ConnectorAPI.i ${PROJECT_HEADERS})
index 751e21d34f90e2b8f782a23aaf4d62807a7c130a..3446bddeeb1b46f2aad9c51bf6047037bab8e164 100644 (file)
@@ -72,6 +72,8 @@ SET(SWIG_LINK_LIBRARIES
   ${PYTHON_LIBRARIES}
 )
 
+SET(CMAKE_SWIG_FLAGS -threads -w325,321,302,362,322,383,403)
+
 SET(SWIG_MODULE_ConstructionAPI_EXTRA_DEPS ${SWIG_MODULE_ConstructionAPI_EXTRA_DEPS}
   ${PROJECT_SOURCE_DIR}/src/ModelHighAPI/ModelHighAPI.i
   doxyhelp.i
index 61fd28a0648f554365d276cb6c5c348858ed0e7a..1fd4485debc759d6d61e0b1a0e115c19f4ec607e 100644 (file)
@@ -44,7 +44,7 @@ SET(PROJECT_SOURCES
 ADD_DEFINITIONS(-DEVENTS_EXPORTS)
 ADD_LIBRARY(Events SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
 
-SET(CMAKE_SWIG_FLAGS -threads -Wall)
+SET(CMAKE_SWIG_FLAGS -threads -w362)
 
 SET_SOURCE_FILES_PROPERTIES(Events.i PROPERTIES CPLUSPLUS ON)
 SET_SOURCE_FILES_PROPERTIES(Events.i PROPERTIES SWIG_DEFINITIONS "-shadow")
index 8cc29b806682dc8500180c5bb7cd68c28e8eb147..9d3a4b868c8c3216c70bf686c68381d9c0567124 100644 (file)
@@ -58,6 +58,8 @@ TARGET_LINK_LIBRARIES(ExchangeAPI ${PROJECT_LIBRARIES})
 
 INCLUDE(PythonAPI)
 
+SET(CMAKE_SWIG_FLAGS -threads -w325,321,302,362,322,383,403)
+
 SET_SOURCE_FILES_PROPERTIES(ExchangeAPI.i PROPERTIES CPLUSPLUS ON)
 SET_SOURCE_FILES_PROPERTIES(ExchangeAPI.i PROPERTIES SWIG_DEFINITIONS "-shadow")
 
index 10702894a2fc161afd7dd93c76a20310d5ad321c..23cdb1c47216e00e0cae92159d2ff9cd40c48877 100644 (file)
@@ -112,6 +112,7 @@ SET(SWIG_LINK_LIBRARIES
   ModelAPI
   ${PYTHON_LIBRARIES}
 )
+SET(CMAKE_SWIG_FLAGS -threads -w325,321,302,362,322,383,403)
 
 SET(SWIG_MODULE_FeaturesAPI_EXTRA_DEPS ${SWIG_MODULE_FeaturesAPI_EXTRA_DEPS}
   ${PROJECT_SOURCE_DIR}/src/ModelHighAPI/ModelHighAPI.i
index 19d9ed3de068c88abe1200fefe292952e8b25626..bfd90c8b77c61e4ca129173c6eec1d313b9b5c80 100644 (file)
@@ -66,6 +66,7 @@ SET(SWIG_LINK_LIBRARIES
   ModelAPI
   ${PYTHON_LIBRARIES}
 )
+SET(CMAKE_SWIG_FLAGS -threads -w325,321,302,362,322,383,403)
 
 SET(SWIG_MODULE_GDMLAPI_EXTRA_DEPS ${SWIG_MODULE_GDMLAPI_EXTRA_DEPS}
   ${PROJECT_SOURCE_DIR}/src/ModelHighAPI/ModelHighAPI.i
index a95efe2ce332b7f0c56742e846826ac46d38a12a..92aecd7c43b8c312df20e3b4adcd483c4651ec2a 100644 (file)
@@ -123,7 +123,7 @@ SET(PROJECT_LIBRARIES
 ADD_DEFINITIONS(-DGEOMAPI_EXPORTS ${OpenCASCADE_DEFINITIONS})
 ADD_LIBRARY(GeomAPI SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
 
-SET(CMAKE_SWIG_FLAGS -threads -Wall)
+SET(CMAKE_SWIG_FLAGS -threads -w325,321,362,383,512)
 
 SET_SOURCE_FILES_PROPERTIES(GeomAPI.i PROPERTIES CPLUSPLUS ON)
 SET_SOURCE_FILES_PROPERTIES(GeomAPI.i PROPERTIES SWIG_DEFINITIONS "-shadow")
index a886d6d0507e5a5674b0acc452e31f968c5d4a0c..baeacfbaa9aabb1d1df959c52eedd0a303a55cbf 100644 (file)
@@ -150,7 +150,7 @@ SET(PROJECT_LIBRARIES
 ADD_DEFINITIONS(-DGEOMALGOAPI_EXPORTS ${OpenCASCADE_DEFINITIONS})
 ADD_LIBRARY(GeomAlgoAPI SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
 
-SET(CMAKE_SWIG_FLAGS "-Wall")
+SET(CMAKE_SWIG_FLAGS -w325,321,362,383,302)
 
 SET_SOURCE_FILES_PROPERTIES(GeomAlgoAPI.i PROPERTIES CPLUSPLUS ON)
 SET_SOURCE_FILES_PROPERTIES(GeomAlgoAPI.i PROPERTIES SWIG_DEFINITIONS "-shadow")
index fe7c87d8c868d0fbd48471b21b4954cb8668d22e..fa7830d936d05df07be7ede37672a10b26c245c1 100644 (file)
@@ -49,7 +49,7 @@ ADD_LIBRARY(GeomDataAPI SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
 SET_TARGET_PROPERTIES(GeomDataAPI PROPERTIES LINKER_LANGUAGE CXX)
 TARGET_LINK_LIBRARIES(GeomDataAPI ${PROJECT_LIBRARIES})
 
-SET(CMAKE_SWIG_FLAGS "-Wall")
+SET(CMAKE_SWIG_FLAGS -w325,321,362,383,302,403)
 
 SET_SOURCE_FILES_PROPERTIES(GeomDataAPI.i PROPERTIES CPLUSPLUS ON)
 SET_SOURCE_FILES_PROPERTIES(GeomDataAPI.i PROPERTIES SWIG_DEFINITIONS "-shadow")
index 174b814046fc1a37ef5a98cac1f0ef79dafb9c07..18ebdcfc49d0f9e8fb18a6bc787a1f60edb36a21 100644 (file)
@@ -113,7 +113,7 @@ SET(PROJECT_LIBRARIES
     Config
     GeomAPI
 )
-SET(CMAKE_SWIG_FLAGS -threads -Wall)
+SET(CMAKE_SWIG_FLAGS -threads -w325,321,362,383,302,403,473)
 ADD_DEFINITIONS(-DMODELAPI_EXPORTS)
 
 ADD_LIBRARY(ModelAPI SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
index 45fc4df8f377a9128a77e1418cfc9e10c7a42f6c..3791fd3dab15a1b068e7e9efa914b51abf768dda 100644 (file)
@@ -41,7 +41,7 @@ SET(PROJECT_LIBRARIES
     ModelAPI
 )
 
-SET(CMAKE_SWIG_FLAGS -threads -Wall)
+SET(CMAKE_SWIG_FLAGS -threads -w325,321,362,383,302,403)
 ADD_DEFINITIONS(-DMODELGEOMALGO_EXPORTS)
 
 ADD_LIBRARY(ModelGeomAlgo SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
index 68063137922d963192b34431f3c9dac8384d4745..04786ff11a4736408f99bcb87ea79427b94f60c6 100644 (file)
@@ -93,6 +93,7 @@ set(SWIG_MODULE_ModelHighAPI_EXTRA_DEPS
   doxyhelp.i
   ${PROJECT_HEADERS}
 )
+SET(CMAKE_SWIG_FLAGS -threads -w325,321,302,362,322,383,403,509,503)
 
 IF(${CMAKE_VERSION} VERSION_GREATER "3.8.0")
   SWIG_ADD_LIBRARY(ModelHighAPI LANGUAGE python SOURCES ModelHighAPI.i ${PROJECT_HEADERS})
index 4d561918fa43e15caccb69af2da3675499a96730..57619184f961f38393c264a7e2d05e33e77d194b 100644 (file)
@@ -57,6 +57,8 @@ TARGET_LINK_LIBRARIES(ParametersAPI ${PROJECT_LIBRARIES})
 
 INCLUDE(PythonAPI)
 
+SET(CMAKE_SWIG_FLAGS -threads -w325,321,302,362,322,383,403)
+
 SET_SOURCE_FILES_PROPERTIES(ParametersAPI.i PROPERTIES CPLUSPLUS ON)
 SET_SOURCE_FILES_PROPERTIES(ParametersAPI.i PROPERTIES SWIG_DEFINITIONS "-shadow")
 
index b5a4d2c68458cce608edb0d5229337b318115b13..ab1a62c7b642e79d2db6278f7348a25dbd89044b 100644 (file)
@@ -58,6 +58,8 @@ TARGET_LINK_LIBRARIES(PartSetAPI ${PROJECT_LIBRARIES})
 
 INCLUDE(PythonAPI)
 
+SET(CMAKE_SWIG_FLAGS -threads -w325,321,302,362,322,383,403)
+
 SET_SOURCE_FILES_PROPERTIES(PartSetAPI.i PROPERTIES CPLUSPLUS ON)
 SET_SOURCE_FILES_PROPERTIES(PartSetAPI.i PROPERTIES SWIG_DEFINITIONS "-shadow")
 
index 8a3673e8b3134f572409eb8cfc1629e4ec411ecc..53b860925a27b6edc3a127c957e0a979de51f606 100644 (file)
@@ -72,6 +72,7 @@ SET(SWIG_LINK_LIBRARIES
   ModelAPI
   ${PYTHON_LIBRARIES}
 )
+SET(CMAKE_SWIG_FLAGS -threads -w325,321,302,362,322,383,403)
 
 SET(SWIG_MODULE_PrimitivesAPI_EXTRA_DEPS ${SWIG_MODULE_PrimitivesAPI_EXTRA_DEPS}
   ${PROJECT_SOURCE_DIR}/src/ModelHighAPI/ModelHighAPI.i
index 37be6a336e39f8db975780d287d190bb79627813..80b055bed50e7826c3c733dc0c6d4e025ade2c76 100644 (file)
@@ -89,6 +89,8 @@ TARGET_LINK_LIBRARIES(SketchAPI ${PROJECT_LIBRARIES})
 
 INCLUDE(PythonAPI)
 
+SET(CMAKE_SWIG_FLAGS -threads -w325,321,302,362,322,383,403)
+
 SET_SOURCE_FILES_PROPERTIES(SketchAPI.i PROPERTIES CPLUSPLUS ON)
 SET_SOURCE_FILES_PROPERTIES(SketchAPI.i PROPERTIES SWIG_DEFINITIONS "-shadow")
 
index c6f99cecd3e6a2d810a34e39d61c46e7153cd991..7a961fcad378ae7db1a3048a2b30258e77514f20 100644 (file)
@@ -115,6 +115,9 @@ if(${SKETCHER_CHANGE_RADIUS_WHEN_MOVE})
   ADD_DEFINITIONS(-DCHANGE_RADIUS_WHILE_MOVE)
 endif()
 
+##ADD_DEFINITIONS(-Wno-deprecated -Wignored-attributes -Wmisleading-indentation -Wreorder)
+ADD_DEFINITIONS(-w)
+
 ADD_LIBRARY(PlaneGCSSolver MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${SKETCHSOLVER_TEXT_RESOURCES})
 TARGET_LINK_LIBRARIES(PlaneGCSSolver ${PROJECT_LIBRARIES} ${SKETCHSOLVER_LIBRARIES})
 INSTALL(TARGETS PlaneGCSSolver DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})