在 2026-1-20 12:21, LIU Hao 写道:
And finally, I have tried this locally in MSYS2. It's a very weird setup: Because the CRT configure checks for a working compiler, it's necessary to configure everything with headers installed; then in order to test these patches, I uninstall headers and run `make -j32` from top-level build directory. This seems working, with either `--enable-sdk=all` or `--enable-sdk=no`.So the combined changes are: https://github.com/lhmouse/mingw-w64/ compare/0c21179312f87e4674ecbaf1b3e7562cbb625c44...670126daab0f46f1fd5d7844290e838eddee68d5But this does not work quite well on our CI: https://github.com/lhmouse/mingw-w64/actions/ runs/21158997374/job/60849719833#step:5:226
This can be fixed by replacing `-I` with `-isystem` to suppress warnings in CRT headers.The patch about 'testcases/Makefile.am' can be dropped: Building tests require CRT object files such as crt1.o, which do not respect -L options. So unless the CRT is installed, tests can't be fully rebuilt.
I will send a new series of patches, with more fixes, once the CI passes. -- Best regards, LIU Hao
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
