On Thu, 18 Dec 2025, Kirill Makurin wrote:
First, we have duplicating (guarded) declarations in multiple header files, such as various wcs* functions are declared in both wchar.h and string.h. Should we move them to a separate header file, similarly to what MSVC does, with headers like correct_wchar.h?
This has been an ongoing annoyance, so if you have time to look into it, that would be appreciated.
When doing it, pay _close_ attention that the refactored set of declarations really is exactly identical across both headers it was extracted from. If there are subtle differences in either of them, please fix that up first in a preceding patch.
I have a faint feeling that there are other cases of duplication close to this area as well, but the only thing I concretely remember is conio.h which is closely matching the rest, but doesn't have overlapping declarations.
// Martin _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
