在 2023-05-16 19:15, 徐持恒 Xu Chiheng 写道:
The name binmode.o/commode.o should be fine.  It conforms to Microsoft doc.
https://learn.microsoft.com/en-us/cpp/c-runtime-library/link-options?view=msvc-170

The extensions already deviate. The filenames do not matter, but compatibility 
does.


commode.c should be :

// #include <corecrt_internal_stdio.h>
int _commode = 0x0800; // _IOCOMMIT

Please do not remove the comments.

We don't provide <corecrt_internal_stdio.h>. `_IOCOMMIT` means nothing to me. I haven't read UCRT source. Do not suggest that.


--
Best regards,
LIU Hao

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to