Ticket #2352: boost_filesystem.patch
File boost_filesystem.patch, 2.6 KB (added by , 14 years ago) |
---|
-
config.hpp
60 60 61 61 // narrow support only for badly broken compilers or libraries -------------// 62 62 63 # if defined(BOOST_NO_STD_WSTRING) || defined(BOOST_NO_SFINAE) || defined(BOOST_NO_STD_LOCALE) || BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x592))63 # if defined(BOOST_NO_STD_WSTRING) || defined(BOOST_NO_SFINAE) || defined(BOOST_NO_STD_LOCALE) || BOOST_WORKAROUND(__BORLANDC__, <0x610) 64 64 # define BOOST_FILESYSTEM_NARROW_ONLY 65 65 # endif 66 66 67 67 // enable dynamic linking on Windows ---------------------------------------// 68 68 69 # if (defined(BOOST_ALL_DYN_LINK) || defined(BOOST_FILESYSTEM_DYN_LINK)) && defined(__BORLANDC__) && defined(__WIN32__)69 # if (defined(BOOST_ALL_DYN_LINK) || defined(BOOST_FILESYSTEM_DYN_LINK)) && BOOST_WORKAROUND(__BORLANDC__, <0x610) && defined(__WIN32__) 70 70 # error Dynamic linking Boost.Filesystem does not work for Borland; use static linking instead 71 71 # endif 72 72 -
convenience.hpp
241 241 else if ( is_directory( m_imp->m_stack.top()->status() ) ) 242 242 { 243 243 system::error_code ec; 244 #if BOOST_WORKAROUND(__CODEGEARC__, BOOST_TESTED_AT(0x610)) 245 if( m_imp->m_no_throw ) { 246 m_imp->m_stack.push( 247 basic_directory_iterator<Path>( *m_imp->m_stack.top(), ec ) 248 ); 249 } 250 else { 251 m_imp->m_stack.push( 252 basic_directory_iterator<Path>( *m_imp->m_stack.top() ) 253 ); 254 } 255 #else 244 256 m_imp->m_stack.push( 245 257 m_imp->m_no_throw 246 258 ? basic_directory_iterator<Path>( *m_imp->m_stack.top(), ec ) 247 259 : basic_directory_iterator<Path>( *m_imp->m_stack.top() ) ); 260 #endif 248 261 if ( m_imp->m_stack.top() != end_itr ) 249 262 { 250 263 ++m_imp->m_level; -
path.hpp
533 533 // inserters and extractors --------------------------------------------// 534 534 535 535 // bypass VC++ 7.0 and earlier, and broken Borland compilers 536 # if !BOOST_WORKAROUND(BOOST_MSVC, <= 1300) && !BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))536 # if !BOOST_WORKAROUND(BOOST_MSVC, <= 1300) && !BOOST_WORKAROUND(__BORLANDC__, < 0x610) 537 537 template< class Path > 538 538 std::basic_ostream< typename Path::string_type::value_type, 539 539 typename Path::string_type::traits_type > &