-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
While compiling the IMAS-Matlab project on Windows (VS 2022), the compiler crashes during the generation of code for mex-ids_put, mex-ids_put_slice, and mex-ids_validate.
Environment:
Compiler: MSVC v170 (Visual Studio 2022)
File: build\src\ids\validate_ids.c (Line 228250+)
Error Code: MSB6006: "CL.exe" exited with code -1073741676
Error logs
\imas_workspace\IMAS-Matlab\build\src\ids\validate_ids.c(228250,21): warning C4477: 'sprintf' : format string '%d' requires an argument of type 'int', but variadic argument 3 has type 'mwSize
' [\imas_workspace\IMAS-Matlab\build\mex-ids_validate.vcxproj]
\imas_workspace\IMAS-Matlab\build\src\ids\validate_ids.c(228250,21):
consider using '%zd' in the format string
Generating Code...
CL!CloseTypeServerPDB()+0xdc037
CL!CloseTypeServerPDB()+0xdc037
CL!CloseTypeServerPDB()+0xdc004
CL!CloseTypeServerPDB()+0xdbf0f
CL!CloseTypeServerPDB()+0xdbad1
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(787,5): error MSB6006: "CL.exe" exited with code -1073741676. [C:\Users\sawantp1\imas_workspace\IM
AS-Matlab\build\mex-ids_validate.vcxproj]
\imas_workspace\IMAS-Matlab\build\src\ids\validate_ids.c(228250,21): warning C4477: 'sprintf' : format string '%d' requires an argument of type 'int', but variadic argument 3 has type 'mwSize
' [\imas_workspace\IMAS-Matlab\build\mex-ids_put_slice.vcxproj]
\imas_workspace\IMAS-Matlab\build\src\ids\validate_ids.c(228250,21):
consider using '%zd' in the format string
Generating Code...
CL!CloseTypeServerPDB()+0xdc037
CL!CloseTypeServerPDB()+0xdc037
CL!CloseTypeServerPDB()+0xdc004
CL!CloseTypeServerPDB()+0xdbf0f
CL!CloseTypeServerPDB()+0xdbad1
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(787,5): error MSB6006: "CL.exe" exited with code -1073741676. [C:\Users\sawantp1\imas_workspace\IM
AS-Matlab\build\mex-ids_put_slice.vcxproj]
\imas_workspace\IMAS-Matlab\build\src\ids\validate_ids.c(228250,21): warning C4477: 'sprintf' : format string '%d' requires an argument of type 'int', but variadic argument 3 has type 'mwSize
' [\imas_workspace\IMAS-Matlab\build\mex-ids_put.vcxproj]
\imas_workspace\IMAS-Matlab\build\src\ids\validate_ids.c(228250,21):
consider using '%zd' in the format string
Generating Code...
CL!CloseTypeServerPDB()+0xdc037
CL!CloseTypeServerPDB()+0xdc037
CL!CloseTypeServerPDB()+0xdc004
CL!CloseTypeServerPDB()+0xdbf0f
CL!CloseTypeServerPDB()+0xdbad1
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(787,5): error MSB6006: "CL.exe" exited with code -1073741676. [C:\Users\sawantp1\imas_workspace\IM
AS-Matlab\build\mex-ids_put.vcxproj]
It seems validate.c file need to optimize in size?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels