Opened 11 years ago

Closed 10 years ago

#1458 closed Bugs (fixed)

Darwin Tiger throws std::runtime_error: locale::facet::_S_create_c_locale name not valid

Reported by: John Pavel <jrp@…> Owned by: Beman Dawes
Milestone: Boost 1.36.0 Component: filesystem
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Change History (3)

comment:2 Changed 11 years ago by dirk@…

I believe this also happens with the following piece of code:

int main()




It seems osx/bsd only supports "C" and "POSIX" (there are some post on the web saying this), which is sort of strange - why should this be and OSX does support unicode (how?)

Could this be fixed in any way? Or does Apple need to do something (I'd rather not compile my own gcc)

Best, Dirk

comment:3 Changed 10 years ago by Beman Dawes

Resolution: fixed
Status: newclosed

This is a known problem with MacOS and std::locale(""). I've added a workaround to use std::locale() instead.

Note: See TracTickets for help on using tickets.