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:
@@ -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 ();
|
||||
|
||||
|
Reference in New Issue
Block a user