[Issue 23312] Crash when calling writeln in WinMain
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jun 21 08:32:47 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=23312
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla at digitalmars.com
--- Comment #6 from Walter Bright <bugzilla at digitalmars.com> ---
The code that is crashing is calling _setmode() but not checking the error
return from it.
https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/setmode?view=msvc-170
--
More information about the Digitalmars-d-bugs
mailing list