Boost logo

Boost Users :

Subject: [Boost-users] [filesystem] std::bad_alloc during dll initialization when migrating to filesystem v3
From: Richard Ulrich (richi_at_[hidden])
Date: 2011-04-13 10:51:41

Hi Guys,

I'm currently migrating our system consisting of multiple dll's and and
executable to filesystem v3.
The first two dll's that use boost::filesystem load ok, but the third
fails with std::bad_alloc in the locale copy constructor called from
default_locale during the construction of dot_path.

I don't know if it's relevant, but we usually work with char while
filesystem uses wchar_t for BOOST_WINDOWS_API


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at