On 23 Dec 2025 04:12, Peter Dimov via Boost wrote:
Andrey Semashev wrote:
Restoring the previous behavior (by introducing and using Boost.Filesystem- specific set of macros) is easy enough, and I will fix this shortly.
I'm not sure it's that easy. If the API selection between System and Filesystem is not consistent, system_category() will be POSIX but you'll be putting GetLastError codes into it.
Yeah, I thought so too.
If you insist on using the Windows API on Cygwin, we'll need to revert the System patch as well.
(Or you could implement your own error_category, I suppose.)
At the moment I just committed the old behavior in develop so that Boost.Filesystem at least compiles and doesn't block others. But recent Cygwin updates seem to have broken something in their WinAPI support as the tests in GHA are failing. Unfortunately, GHA logs also don't show console output of the failed tests. On my local machine, I had an older Cygwin installation, and there the tests passed. After updating Cygwin, they started failing as well. I didn't have time to debug, but I think, current_path() doesn't work for some reason. I think I'm going to try switching to POSIX API. The tests on POSIX are also failing, but for other reasons.