#333 system_error(GetLastError(), ...) doesn't work

open
nobody
None
5
2013-10-09
2013-03-22
yhw
No

std::system_error(GetLastError(), std::system_category()) doesn't work in x86_64-w64-mingw32-gcc-4.7.2-release-win64_rubenvb.7z on Windows 7 x64. It creates wrong error codes. The same code from the Boost library works fine.

Discussion

  • niXman
    niXman
    2013-10-09

    Already fixed.