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:
@@ -986,8 +986,8 @@ void Intf_InterferencePolygonPolyhedron::Intersect
|
||||
//-- Si cette distance est inferieure a Tolerance, on cree un SP.
|
||||
//--
|
||||
//-- printf("\nIntf_InterferencePolygPolyh : dBegTri=%g dEndTri=%g Tolerance=%g\n",dBegTri,dEndTri,Tolerance);
|
||||
if(1 || (Abs(dBegTri) <= Tolerance)
|
||||
|| (Abs(dEndTri) <= Tolerance)) {
|
||||
// if(Abs(dBegTri) <= Tolerance || Abs(dEndTri) <= Tolerance)
|
||||
{
|
||||
gp_Vec VecPol(BegO,EndO);
|
||||
Standard_Real NVecPol = VecPol.Magnitude();
|
||||
gp_Dir DirPol(VecPol);
|
||||
@@ -1268,8 +1268,8 @@ void Intf_InterferencePolygonPolyhedron::Intersect (const gp_Pnt& BegO,
|
||||
//-- Si cette distance est inferieure a Tolerance, on cree un SP.
|
||||
//--
|
||||
//-- printf("\nIntf_InterferencePolygPolyh : dBegTri=%g dEndTri=%g Tolerance=%g\n",dBegTri,dEndTri,Tolerance);
|
||||
if(1 || (Abs(dBegTri) <= Tolerance)
|
||||
|| (Abs(dEndTri) <= Tolerance)) {
|
||||
// if (Abs(dBegTri) <= Tolerance || Abs(dEndTri) <= Tolerance)
|
||||
{
|
||||
gp_Vec VecPol(BegO,EndO);
|
||||
Standard_Real NVecPol = VecPol.Magnitude();
|
||||
gp_Dir DirPol(VecPol);
|
||||
|
Reference in New Issue
Block a user