Georg Baum wrote: > [EMAIL PROTECTED] wrote: > > http://www.lyx.org/trac/file/lyx-devel/trunk/boost/libs/filesystem/src/operations.cpp?rev=17498 > ============================================================================== >> --- lyx-devel/trunk/boost/libs/filesystem/src/operations.cpp (original) >> +++ lyx-devel/trunk/boost/libs/filesystem/src/operations.cpp Wed Mar 21 >> 22:22:10 2007 @@ -680,7 +680,7 @@ >> { >> std::string narrow_short_form; >> std::wstring short_form; >> - for ( DWORD buf_sz( static_cast<DWORD>( ph.size()+1 ));; ) >> + for ( DWORD buf_sz( static_cast<DWORD>( ph.size()+1 )); ; ) >> { >> boost::scoped_array<wchar_t> buf( new wchar_t[buf_sz] ); >> DWORD sz( ::GetShortPathNameW( ph.c_str(), buf.get(), buf_sz ) >> ); >> @@ -1040,7 +1040,7 @@ >> BOOST_FILESYSTEM_DECL fs::system_error_type >> get_current_path_api( std::string & ph ) >> { >> - for ( long path_max = 32;; path_max *=2 ) // loop 'til buffer >> large enough >> + for ( long path_max = 32; ; path_max *=2 ) // loop 'til buffer >> large enough >> { >> boost::scoped_array<char> >> buf( new char[static_cast<std::size_t>(path_max)] ); > > We are not supposed to change boost. This will lead to a maintenance > nightmare (who will remember to redo these changes again when we update > boost)? Please revert. > The real solution for this problem is to fix cmake. Or don't concatenate > boost, this is not needed since boost is not changed very often. > > > Georg >
It's no problem when this change gets lost with the next boost update. -- Peter Kümmel