1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-29 14:00:49 +03:00

0027525: Coding - eliminate warnings on Windows for OCCT with static type of libraries

Useless *.cxx files were removed to eliminate linker warning LNK4221.

Package TopOpeBRepDS was cleaned up from old debugging routines.

Merged OSD_signal_WNT.cxx into OSD_signal.cxx

Class Standard_ErrorHandlerCallback was moved into the Standard_ErrorHandler class as nested class Callback

Eliminated warning about unused variable.
This commit is contained in:
ski
2016-06-29 10:46:05 +03:00
committed by bugmaster
parent 593dfe97ea
commit 536a3cb80c
177 changed files with 801 additions and 6902 deletions

View File

@@ -52,7 +52,6 @@
#include <TopTools_IndexedMapOfOrientedShape.hxx>
#ifdef OCCT_DEBUG
extern Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
Standard_EXPORT void debgsobu(const Standard_Integer /*iSO*/) {}
#endif
@@ -83,7 +82,6 @@ void TopOpeBRepBuild_Builder::GSOBUMakeSolids
(const TopoDS_Shape& SOF,TopOpeBRepBuild_SolidBuilder& SOBU,TopTools_ListOfShape& LOSO)
{
#ifdef OCCT_DEBUG
Standard_Boolean trcso = TopOpeBRepDS_GettraceSTRANGE();
Standard_Integer iSO; Standard_Boolean tSPS = GtraceSPS(SOF,iSO);
if(tSPS){GdumpSHA(SOF, (char *) "#--- GSOBUMakeSolids ");cout<<endl;}
if(tSPS){GdumpSOBU(SOBU);debgsobu(iSO);}
@@ -141,9 +139,6 @@ void TopOpeBRepBuild_Builder::GSOBUMakeSolids
TopExp_Explorer ex(newSolid,TopAbs_VERTEX);
Standard_Boolean isempty = ex.More();
if (!isempty) {
#ifdef OCCT_DEBUG
if (trcso) cout <<"TopOpeBRepBuild_Builder::GSOBUMakeSolids ->EMPTY SOLID\n";
#endif
continue;
}