1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00

0023934: Compiler warnings in MS VC++ 10

Elimination of compiler warnings
- ExprIntrp: generated file ExprIntrp.tab.c and related WOK scripts removed from the sources
- ExprIntrp, StepFile: added missing declarations and casts; warnings caused by Flex and Bison code suppressed for MSVC compuler by #pragma
- OSD: dummy #includes added to files containing no code for Windows, to avoid warning on empty file
- PLib: piece of code contained in PLib_ChangeDim.gxx included explicitly in cxx and cleaned
- Other places: some casts added to avoid warnings
This commit is contained in:
abv
2013-09-18 09:13:42 +04:00
parent 498ce76bde
commit 105aae761e
39 changed files with 264 additions and 1600 deletions

View File

@@ -62,11 +62,7 @@ void ApproxInt_ImpPrmSvSurfaces::Pnt(const Standard_Real u1,
Standard_Real tu2=u2;
Standard_Real tv1=v1;
Standard_Real tv2=v2;
#ifdef DEB
Standard_Boolean t=this->Compute(tu1,tv1,tu2,tv2,aP,aT,aTS1,aTS2);
#else
this->Compute(tu1,tv1,tu2,tv2,aP,aT,aTS1,aTS2);
#endif
P=MyPnt;
}
//--------------------------------------------------------------------------------

View File

@@ -223,11 +223,7 @@ void ApproxInt_PrmPrmSvSurfaces::Pnt(const Standard_Real u1,
Standard_Real tu2=u2;
Standard_Real tv1=v1;
Standard_Real tv2=v2;
#ifdef DEB
Standard_Boolean t=this->Compute(tu1,tv1,tu2,tv2,aP,aT,aTS1,aTS2);
#else
this->Compute(tu1,tv1,tu2,tv2,aP,aT,aTS1,aTS2);
#endif
P=MyPnt;
}
//--------------------------------------------------------------------------------