-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
This is the same issue as https://github.com/haxelime/lime/issues/875 .
If you try to rebuild via lime rebuild systools windows, you get an error because of a missing reference to the sprintf function. That function was removed from default MSVC libs some years ago, to nudge developers into using more secure version of those functions (like sprintf_s)
https://docs.microsoft.com/en-us/cpp/c-runtime-library/secure-template-overloads?view=msvc-160
There are two possible fixes for this issue:
- changing
sprintfwithsprintf_sin the code (there is only one instance of this); - adding
legacy_stdio_definitions.libto the linker: that would load the missing reference tosprintf
Edit: I did a PR with the second solution.
Metadata
Metadata
Assignees
Labels
No labels