From: kgv Date: Tue, 6 Nov 2018 12:19:06 +0000 (+0300) Subject: 0029181: Jenkins Certification Tool - testing with enabled exceptions (undefined... X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=c30cf52f775f089e9a95e0f161f10acd46eb24a1;p=occt-copy.git 0029181: Jenkins Certification Tool - testing with enabled exceptions (undefined No_Exception) --- diff --git a/adm/cmake/occt_defs_flags.cmake b/adm/cmake/occt_defs_flags.cmake index 5484c6759f..ed32e0b6a7 100644 --- a/adm/cmake/occt_defs_flags.cmake +++ b/adm/cmake/occt_defs_flags.cmake @@ -144,6 +144,6 @@ if (CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX OR MINGW) endif() if (BUILD_RELEASE_DISABLE_EXCEPTIONS) - set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -DNo_Exception") - set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -DNo_Exception") + #set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -DNo_Exception") + #set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -DNo_Exception") endif() diff --git a/src/ElSLib/ElSLib.cxx b/src/ElSLib/ElSLib.cxx index e2a815c2cd..a1e1df8da0 100644 --- a/src/ElSLib/ElSLib.cxx +++ b/src/ElSLib/ElSLib.cxx @@ -14,15 +14,8 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -// Modified by skv - Tue Sep 9 15:10:35 2003 OCC620 - - -#ifndef No_Exception -#define No_Exception -#endif - - #include + #include #include #include diff --git a/src/HLRAlgo/HLRAlgo_BiPoint.cxx b/src/HLRAlgo/HLRAlgo_BiPoint.cxx index 127ba04ed3..80feb6782b 100644 --- a/src/HLRAlgo/HLRAlgo_BiPoint.cxx +++ b/src/HLRAlgo/HLRAlgo_BiPoint.cxx @@ -14,11 +14,6 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -#ifndef No_Exception -#define No_Exception -#endif - - #include //======================================================================= diff --git a/src/HLRAlgo/HLRAlgo_EdgeIterator.cxx b/src/HLRAlgo/HLRAlgo_EdgeIterator.cxx index a03cb48fa1..e50e3ba4d4 100644 --- a/src/HLRAlgo/HLRAlgo_EdgeIterator.cxx +++ b/src/HLRAlgo/HLRAlgo_EdgeIterator.cxx @@ -14,11 +14,6 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -#ifndef No_Exception -#define No_Exception -#endif - - #include #include diff --git a/src/HLRAlgo/HLRAlgo_EdgeStatus.cxx b/src/HLRAlgo/HLRAlgo_EdgeStatus.cxx index d6feb9319f..fbe3a99e62 100644 --- a/src/HLRAlgo/HLRAlgo_EdgeStatus.cxx +++ b/src/HLRAlgo/HLRAlgo_EdgeStatus.cxx @@ -14,11 +14,6 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -#ifndef No_Exception -#define No_Exception -#endif - - #include #include diff --git a/src/HLRAlgo/HLRAlgo_EdgesBlock.cxx b/src/HLRAlgo/HLRAlgo_EdgesBlock.cxx index f7abb9384f..1b56c4d2bf 100644 --- a/src/HLRAlgo/HLRAlgo_EdgesBlock.cxx +++ b/src/HLRAlgo/HLRAlgo_EdgesBlock.cxx @@ -14,11 +14,6 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -#ifndef No_Exception -#define No_Exception -#endif - - #include #include diff --git a/src/HLRAlgo/HLRAlgo_PolyAlgo.cxx b/src/HLRAlgo/HLRAlgo_PolyAlgo.cxx index dcfd2a5814..0107e5523a 100644 --- a/src/HLRAlgo/HLRAlgo_PolyAlgo.cxx +++ b/src/HLRAlgo/HLRAlgo_PolyAlgo.cxx @@ -14,11 +14,6 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -#ifndef No_Exception -//#define No_Exception -#endif - - #include #include #include diff --git a/src/HLRAlgo/HLRAlgo_PolyShellData.cxx b/src/HLRAlgo/HLRAlgo_PolyShellData.cxx index eed6553d7f..5a44718c32 100644 --- a/src/HLRAlgo/HLRAlgo_PolyShellData.cxx +++ b/src/HLRAlgo/HLRAlgo_PolyShellData.cxx @@ -14,11 +14,6 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -#ifndef No_Exception -//#define No_Exception -#endif - - #include #include #include diff --git a/src/HLRAlgo/HLRAlgo_Projector.cxx b/src/HLRAlgo/HLRAlgo_Projector.cxx index d51bff6f1f..eacce86a3b 100644 --- a/src/HLRAlgo/HLRAlgo_Projector.cxx +++ b/src/HLRAlgo/HLRAlgo_Projector.cxx @@ -14,11 +14,6 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -#ifndef No_Exception -// #define No_Exception -#endif - - #include #include #include diff --git a/src/HLRAlgo/HLRAlgo_WiresBlock.cxx b/src/HLRAlgo/HLRAlgo_WiresBlock.cxx index d056fb2537..e774bdf750 100644 --- a/src/HLRAlgo/HLRAlgo_WiresBlock.cxx +++ b/src/HLRAlgo/HLRAlgo_WiresBlock.cxx @@ -14,10 +14,6 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -#ifndef No_Exception -#define No_Exception -#endif - #include #include diff --git a/src/HLRBRep/HLRBRep_EdgeBuilder.cxx b/src/HLRBRep/HLRBRep_EdgeBuilder.cxx index b6be40937c..396784deca 100644 --- a/src/HLRBRep/HLRBRep_EdgeBuilder.cxx +++ b/src/HLRBRep/HLRBRep_EdgeBuilder.cxx @@ -14,11 +14,6 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -#ifndef No_Exception -#define No_Exception -#endif - - #include #include #include diff --git a/src/HLRBRep/HLRBRep_EdgeIList.cxx b/src/HLRBRep/HLRBRep_EdgeIList.cxx index c539b7dfc7..1049fd9f55 100644 --- a/src/HLRBRep/HLRBRep_EdgeIList.cxx +++ b/src/HLRBRep/HLRBRep_EdgeIList.cxx @@ -14,11 +14,6 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -#ifndef No_Exception -#define No_Exception -#endif - - #include #include #include diff --git a/src/HLRBRep/HLRBRep_EdgeInterferenceTool.cxx b/src/HLRBRep/HLRBRep_EdgeInterferenceTool.cxx index b6c8a43963..d810f854a4 100644 --- a/src/HLRBRep/HLRBRep_EdgeInterferenceTool.cxx +++ b/src/HLRBRep/HLRBRep_EdgeInterferenceTool.cxx @@ -14,11 +14,6 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -#ifndef No_Exception -#define No_Exception -#endif - - #include #include #include diff --git a/src/HLRBRep/HLRBRep_FaceIterator.cxx b/src/HLRBRep/HLRBRep_FaceIterator.cxx index 44aaf5308f..1f5e668e5f 100644 --- a/src/HLRBRep/HLRBRep_FaceIterator.cxx +++ b/src/HLRBRep/HLRBRep_FaceIterator.cxx @@ -14,11 +14,6 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -#ifndef No_Exception -#define No_Exception -#endif - - #include #include #include diff --git a/src/HLRBRep/HLRBRep_Intersector.cxx b/src/HLRBRep/HLRBRep_Intersector.cxx index 9abd175f0e..7e74489f4a 100644 --- a/src/HLRBRep/HLRBRep_Intersector.cxx +++ b/src/HLRBRep/HLRBRep_Intersector.cxx @@ -14,11 +14,6 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -#ifndef No_Exception -#define No_Exception -#endif - - #include #include #include diff --git a/src/HLRBRep/HLRBRep_ShapeToHLR.cxx b/src/HLRBRep/HLRBRep_ShapeToHLR.cxx index 052579682c..bc1d23db3f 100644 --- a/src/HLRBRep/HLRBRep_ShapeToHLR.cxx +++ b/src/HLRBRep/HLRBRep_ShapeToHLR.cxx @@ -14,11 +14,6 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -#ifndef No_Exception -// #define No_Exception -#endif - - #include #include #include diff --git a/src/HLRBRep/HLRBRep_VertexList.cxx b/src/HLRBRep/HLRBRep_VertexList.cxx index b970594d70..e42ac8edc2 100644 --- a/src/HLRBRep/HLRBRep_VertexList.cxx +++ b/src/HLRBRep/HLRBRep_VertexList.cxx @@ -14,11 +14,6 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -#ifndef No_Exception -#define No_Exception -#endif - - #include #include #include diff --git a/src/Intrv/Intrv_Intervals.cxx b/src/Intrv/Intrv_Intervals.cxx index a7a961ce36..26cf405385 100644 --- a/src/Intrv/Intrv_Intervals.cxx +++ b/src/Intrv/Intrv_Intervals.cxx @@ -14,11 +14,6 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -#ifndef No_Exception -#define No_Exception -#endif - - #include #include #include