Ticket #1304: filesystem071007.diff
File filesystem071007.diff, 2.1 KB (added by , 15 years ago) |
---|
-
config.hpp
23 23 // http://www.boost.org/more/separate_compilation.html 24 24 25 25 #include <boost/config.hpp> 26 #include <boost/detail/workaround.hpp> 26 27 27 28 // determine platform ------------------------------------------------------// 28 29 … … 59 60 60 61 // narrow support only for badly broken compilers or libraries -------------// 61 62 62 # if defined(BOOST_NO_STD_WSTRING) || defined(BOOST_NO_SFINAE) || defined(BOOST_NO_STD_LOCALE) 63 # if defined(BOOST_NO_STD_WSTRING) || defined(BOOST_NO_SFINAE) || defined(BOOST_NO_STD_LOCALE) || BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x592)) 63 64 # define BOOST_FILESYSTEM_NARROW_ONLY 64 65 # endif 65 66 -
path.hpp
649 649 const char * what() const throw() 650 650 { 651 651 if ( !m_imp_ptr.get() ) 652 return system _error::what();653 return detail::what( system _error::what(), m_imp_ptr->m_path1,652 return system::system_error::what(); 653 return detail::what( system::system_error::what(), m_imp_ptr->m_path1, 654 654 m_imp_ptr->m_path2, m_imp_ptr->m_what ); 655 655 } 656 656 … … 1386 1386 template<class Path> 1387 1387 basic_filesystem_error<Path>::basic_filesystem_error( 1388 1388 const std::string & what, system::error_code ec ) 1389 : system _error(ec, what)1389 : system::system_error(ec, what) 1390 1390 { 1391 1391 try 1392 1392 { … … 1399 1399 basic_filesystem_error<Path>::basic_filesystem_error( 1400 1400 const std::string & what, const path_type & path1, 1401 1401 system::error_code ec ) 1402 : system _error(ec, what)1402 : system::system_error(ec, what) 1403 1403 { 1404 1404 try 1405 1405 { … … 1413 1413 basic_filesystem_error<Path>::basic_filesystem_error( 1414 1414 const std::string & what, const path_type & path1, 1415 1415 const path_type & path2, system::error_code ec ) 1416 : system _error(ec, what)1416 : system::system_error(ec, what) 1417 1417 { 1418 1418 try 1419 1419 {