mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0023072: Eliminate compiler warnings (level 3) on Windows / MSVC++
This commit is contained in:
@@ -1769,7 +1769,7 @@ static void pntsave(const Handle(Draw_Drawable3D)&d, ostream& OS)
|
||||
OS.precision(15);
|
||||
#else
|
||||
long form = OS.setf(ios::scientific);
|
||||
int prec = OS.precision(15);
|
||||
std::streamsize prec = OS.precision(15);
|
||||
#endif
|
||||
gp_Pnt P = N->Point();
|
||||
if (N->Is3D()) {
|
||||
@@ -1831,7 +1831,7 @@ static void triasave(const Handle(Draw_Drawable3D)&d, ostream& OS)
|
||||
OS.precision(15);
|
||||
#else
|
||||
long form = OS.setf(ios::scientific);
|
||||
int prec = OS.precision(15);
|
||||
std::streamsize prec = OS.precision(15);
|
||||
#endif
|
||||
Poly::Write(T->Triangulation(),OS);
|
||||
#if defined(HAVE_IOS) && !defined(__sgi) && !defined(IRIX)
|
||||
@@ -1872,7 +1872,7 @@ static void poly3dsave(const Handle(Draw_Drawable3D)&d, ostream& OS)
|
||||
OS.precision(15);
|
||||
#else
|
||||
long form = OS.setf(ios::scientific);
|
||||
int prec = OS.precision(15);
|
||||
std::streamsize prec = OS.precision(15);
|
||||
#endif
|
||||
Poly::Write(T->Polygon3D(),OS);
|
||||
#if defined(HAVE_IOS) && !defined(__sgi) && !defined(IRIX)
|
||||
@@ -1912,7 +1912,7 @@ static void poly2dsave(const Handle(Draw_Drawable3D)&d, ostream& OS)
|
||||
OS.precision(15);
|
||||
#else
|
||||
long form = OS.setf(ios::scientific);
|
||||
int prec = OS.precision(15);
|
||||
std::streamsize prec = OS.precision(15);
|
||||
#endif
|
||||
Poly::Write(T->Polygon2D(),OS);
|
||||
#if defined(HAVE_IOS) && !defined(__sgi) && !defined(IRIX)
|
||||
|
@@ -197,7 +197,7 @@ void DrawTrSurf_Point::Dump(Standard_OStream& S) const
|
||||
S.precision(15);
|
||||
#else
|
||||
long form = S.setf(ios::scientific);
|
||||
int prec = S.precision(15);
|
||||
std::streamsize prec = S.precision(15);
|
||||
#endif
|
||||
if (is3D)
|
||||
S << "Point : " << myPoint.X() << ", " << myPoint.Y() << ", " << myPoint.Z() <<endl;
|
||||
|
Reference in New Issue
Block a user