https://issues.dlang.org/show_bug.cgi?id=23312
Richard Cattermole <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #5 from Richard Cattermole <[email protected]> --- It appears on Microsoft's end that _setmode is expected to assert out if anything isn't right. For example: > Unicode mode is for wide print functions (for example, wprintf) and is not > supported for narrow print functions. Use of a narrow print function on a > Unicode mode stream triggers an assert. https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/setmode?view=msvc-170 Realistically though std.stdio shouldn't be used for console output and therefore that particular bit of code shouldn't exist to assert out. --
