在 2026-2-15 23:51, Pali Rohár 写道:
It was added by Martin to fix another C++ linking bug.

Moreover this usage cannot be deleted because for example autoconf is
checking for vsnprintf symbol existence by trying to link test
application without including any header file. So any usage of vsnprintf
without header file can trigger inclusion of vsnprintf_alias.o object
file and then the __ms_vsnprintf symbol which is currently in
libmingwex.a.

For me it looks like that vsnprintf_alias.c and vsnprintf.c should be in
the same .a import library to prevent those linking problems.

Yes, it looks more likely a reasonable fix, than the patch in this thread.


--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

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

Reply via email to