id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 8926,Windows error messages used for errno codes,Lars T. Kyllingstad ,Beman Dawes,"Consider the following: {{{ using namespace boost::system; system_error e(errc::resource_unavailable_try_again, system_category()); std::cout << e.what() << std::endl; }}} This should print something along the lines of ""Resource unavailable"", but instead it prints ""An attempt was made to load a program with an incorrect format"". The value of `errc::resource_unavailable_try_again` is 11, or `EAGAIN`. What is printed, however, is the message for the Windows system error code `ERROR_BAD_FORMAT`, which is also 11. I encountered this while using boost::thread. I got the above message when I ran out of memory during thread creation.",Bugs,new,To Be Determined,system,Boost 1.53.0,Problem,,,