filesystem/convenience.hpp build warning
30 May
2007
30 May
'07
3:26 p.m.
Having just moved to v1.34.0, I now get a build warning from this file. boost/filesystem/convenience.hpp:46: warning C4245: 'argument' : conversion from 'int' to 'boost::filesystem::system_error_type', signed/unsigned mismatch Is this a bug? The line in question is boost::throw_exception( basic_filesystem_error<Path>( "boost::filesystem::create_directories", ph, -1 ) ); Changing it to boost::throw_exception( basic_filesystem_error<Path>( "boost::filesystem::create_directories", ph, (boost::filesystem::system_error_type)-1 ) ); seems to fix it. cheers, os. -- os@collective.co.uk http://www.collective.co.uk/ http://www.myspace.com/darkroomtheband
6378
Age (days ago)
6378
Last active (days ago)
0 comments
1 participants
participants (1)
-
Os