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

0026547: Configuration - fix compilation errors on VS2015

Interface_STAT.cxx - rename local variable 'stat' to 'myStat' to avoid name collision.
OSD_FileNode.cxx - pass correct argument to va_start().
STEPConstruct_AP203Context::DefaultDateAndTime() - use _get_timezone() instead of global variable timezone on msvc.
Graphic3d_ArrayOfPrimitives::VertexColor() - fix reinterpret_cast() argument.

Small correction: OCC26481-linesarc.brep is equal to bug26296_linesarc.brep
This commit is contained in:
kgv
2015-08-13 13:10:49 +03:00
committed by ski
parent a9d2efda86
commit 9bfa28a7c2
4 changed files with 36 additions and 31 deletions

View File

@@ -931,7 +931,7 @@ void _osd_wnt_set_error ( OSD_Error& err, OSD_WhoAmI who, ... ) {
Standard_Character buffer[ 2048 ];
va_list arg_ptr;
va_start ( arg_ptr, err );
va_start ( arg_ptr, who);
errCode = GetLastError ();