Re: [Boost-bugs] [Boost C++ Libraries] #6638: convert_aux fails while intializing global variable

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6638: convert_aux fails while intializing global variable
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-05-21 22:24:33


#6638: convert_aux fails while intializing global variable
-------------------------+-------------------------------------------------
  Reporter: john doe | Owner: bemandawes
  <johndoe> | Status: new
      Type: Bugs | Component: filesystem
 Milestone: To Be | Severity: Problem
  Determined | Keywords: filesystem path convert wide/narrow
   Version: Boost | string
  1.49.0 |
Resolution: |
-------------------------+-------------------------------------------------

Comment (by Andrei Ortolan - andrei-fsnt@…):

 Me too in boost_1_57_0_32_b_vs10

 CheckCreateDir(".\test\test\");

 bool CheckCreateDir(std::string path){
                 try{
                         if (boost::filesystem::exists(path))
                                 return true;
                 }
                 catch (const boost::filesystem::filesystem_error& ex){
                         std::cout << "\n EX " << ex.what();
                         return false;
                 }


                 bool res;
                 try{
                         res = boost::filesystem::create_directories(path);
                 }
                 catch (...){
                         return false;
                 }
                 return res;
         }

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6638#comment:6>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC