在 2026-6-18 02:35, Pali Rohár 写道:
I mostly do not agree with this. mingw-w64 tests are useful, they are not "second category" synthetic code. We have tests to ensure that the mingw-w64 provides correct and consistent behavior. I think that tests have value and Kirill now tried to clean them too. Also tests are used to verify correct behavior for different Windows versions (even if there is no automated CI for older/different Windows version).
Do you have any samples that compile for 64-bit Windows but call 32-bit time functions explicitly?
When `_WIN64` is defined, if `_USE_32BIT_TIME_T` is also defined it would cause errors, so plain calls to `time()`, `ftime()`, `stat()` and so on can't even be redirected to their 32-bit variants. Can I assume that no 64-bit code calls 32-bit time functions?
If something is used exclusively by tests, then it should be implement in test source files only. -- 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
