Boost logo

Boost Testing :

From: K. Noel Belcourt (kbelco_at_[hidden])
Date: 2007-09-18 21:53:16


On Sep 18, 2007, at 7:00 PM, Sean Huang wrote:

> Started getting this just now:
>
> compile-c-c++
> .\..\..\bin.v2\tools\regression\build\msvc-8.0\release\link-static
> \threadin
> g-multi\process_jam_log.obj
> process_jam_log.cpp
> .\..\..\boost/test/impl/execution_monitor.ipp(214) : warning C4535:
> calling
> _set_se_translator() requires /EHa
> .\..\..\boost/filesystem/path.hpp(1406) : error C2512:
> 'boost::filesystem::basic_filesystem_error<Path>::m_imp' : no
> appropriate
> default constructor available
> with
> [
> Path=const boost::filesystem::path
> ]
> ..\..\..\boost/filesystem/path.hpp(1402) : while compiling
> class
> template member function
> 'boost::filesystem::basic_filesystem_error<Path>::basic_filesystem_err
> or(con
> st std::string &,const boost::filesystem::basic_path<String,Traits>
> &,boost::system::error_code)'
> with
> [
> Path=const boost::filesystem::path,
> String=std::string,
> Traits=boost::filesystem::path_traits
> ]
> ..\..\..\boost/filesystem/operations.hpp(929) : see
> reference to
> class template instantiation
> 'boost::filesystem::basic_filesystem_error<Path>' being compiled
> with
> [
> Path=const boost::filesystem::path
> ]
> ..\..\..\boost/filesystem/operations.hpp(922) : while
> compiling
> class template member function
> 'boost::filesystem::basic_directory_iterator<Path>::basic_directory_it
> erator
> (const boost::filesystem::basic_path<String,Traits> &)'
> with
> [
> Path=const boost::filesystem::path,
> String=std::string,
> Traits=boost::filesystem::path_traits
> ]
> ..\..\..\boost/filesystem/operations.hpp(744) : see
> reference to
> class template instantiation
> 'boost::filesystem::basic_directory_iterator<Path>' being compiled
> with
> [
> Path=const boost::filesystem::path
> ]
> ..\..\..\boost/filesystem/operations.hpp(476) : see
> reference to
> function template instantiation 'unsigned long
> boost::filesystem::detail::remove_all_aux<const Path>(Path &)' being
> compiled
> with
> [
> Path=boost::filesystem::path
> ]
> ..\..\..\boost/filesystem/operations.hpp(701) : see
> reference to
> function template instantiation 'unsigned long
> boost::filesystem::remove_all<boost::filesystem::path>(const Path
> &)' being
> compiled
> with
> [
> Path=boost::filesystem::path
> ]
> .\..\..\boost/filesystem/path.hpp(1406) : error C2660:
> 'boost::shared_ptr<T>::reset' : function does not take 1 arguments
> with
> [
> T=boost::filesystem::basic_filesystem_error<const
> boost::filesystem::path>::m_imp
> ]
> .\..\..\boost/filesystem/path.hpp(1407) : error C2678: binary '=' : no
> operator found which takes a left-hand operand of type 'const
> boost::filesystem::basic_path<String,Traits>' (or there is no
> acceptable
> conversion)
> with
> [
> String=std::string,
> Traits=boost::filesystem::path_traits
> ]
> ..\..\..\boost/filesystem/path.hpp(157): could be
> 'boost::filesystem::basic_path<String,Traits>
> &boost::filesystem::basic_path<String,Traits>::operator =(const
> std::basic_string<_Elem,_Traits,_Ax> &)'
> with
> [
> String=std::string,
> Traits=boost::filesystem::path_traits,
> _Elem=char,
> _Traits=std::char_traits<char>,
> _Ax=std::allocator<char>
> ]
> ..\..\..\boost/filesystem/path.hpp(167): or
> 'boost::filesystem::basic_path<String,Traits>
> &boost::filesystem::basic_path<String,Traits>::operator =(const
> char *)'
> with
> [
> String=std::string,
> Traits=boost::filesystem::path_traits
> ]
> ..\..\..\boost/filesystem/path.hpp(309): or
> 'boost::filesystem::basic_path<String,Traits>
> &boost::filesystem::basic_path<String,Traits>::operator =(const
> boost::filesystem::basic_path<String,Traits> &)'
> with
> [
> String=std::string,
> Traits=boost::filesystem::path_traits
> ]
> while trying to match the argument list '(const
> boost::filesystem::basic_path<String,Traits>, const
> boost::filesystem::basic_path<String,Traits>)'
> with
> [
> String=std::string,
> Traits=boost::filesystem::path_traits
> ]
> .\..\..\boost/filesystem/path.hpp(1406) : error C2512:
> 'boost::filesystem::basic_filesystem_error<Path>::m_imp' : no
> appropriate
> default constructor available
> with
> [
> Path=const boost::filesystem::wpath
> ]
> ..\..\..\boost/filesystem/path.hpp(1402) : while compiling
> class
> template member function
> 'boost::filesystem::basic_filesystem_error<Path>::basic_filesystem_err
> or(con
> st std::string &,const boost::filesystem::basic_path<String,Traits>
> &,boost::system::error_code)'
> with
> [
> Path=const boost::filesystem::wpath,
> String=std::wstring,
> Traits=boost::filesystem::wpath_traits
> ]
> ..\..\..\boost/filesystem/operations.hpp(929) : see
> reference to
> class template instantiation
> 'boost::filesystem::basic_filesystem_error<Path>' being compiled
> with
> [
> Path=const boost::filesystem::wpath
> ]
> ..\..\..\boost/filesystem/operations.hpp(922) : while
> compiling
> class template member function
> 'boost::filesystem::basic_directory_iterator<Path>::basic_directory_it
> erator
> (const boost::filesystem::basic_path<String,Traits> &)'
> with
> [
> Path=const boost::filesystem::wpath,
> String=std::wstring,
> Traits=boost::filesystem::wpath_traits
> ]
> ..\..\..\boost/filesystem/operations.hpp(744) : see
> reference to
> class template instantiation
> 'boost::filesystem::basic_directory_iterator<Path>' being compiled
> with
> [
> Path=const boost::filesystem::wpath
> ]
> ..\..\..\boost/filesystem/operations.hpp(476) : see
> reference to
> function template instantiation 'unsigned long
> boost::filesystem::detail::remove_all_aux<const Path>(Path &)' being
> compiled
> with
> [
> Path=boost::filesystem::wpath
> ]
> ..\..\..\boost/filesystem/operations.hpp(703) : see
> reference to
> function template instantiation 'unsigned long
> boost::filesystem::remove_all<boost::filesystem::wpath>(const Path
> &)' being
> compiled
> with
> [
> Path=boost::filesystem::wpath
> ]
> .\..\..\boost/filesystem/path.hpp(1406) : error C2660:
> 'boost::shared_ptr<T>::reset' : function does not take 1 arguments
> with
> [
> T=boost::filesystem::basic_filesystem_error<const
> boost::filesystem::wpath>::m_imp
> ]
> .\..\..\boost/filesystem/path.hpp(1407) : error C2678: binary '=' : no
> operator found which takes a left-hand operand of type 'const
> boost::filesystem::basic_path<String,Traits>' (or there is no
> acceptable
> conversion)
> with
> [
> String=std::wstring,
> Traits=boost::filesystem::wpath_traits
> ]
> ..\..\..\boost/filesystem/path.hpp(157): could be
> 'boost::filesystem::basic_path<String,Traits>
> &boost::filesystem::basic_path<String,Traits>::operator =(const
> std::basic_string<_Elem,_Traits,_Ax> &)'
> with
> [
> String=std::wstring,
> Traits=boost::filesystem::wpath_traits,
> _Elem=wchar_t,
> _Traits=std::char_traits<wchar_t>,
> _Ax=std::allocator<wchar_t>
> ]
> ..\..\..\boost/filesystem/path.hpp(167): or
> 'boost::filesystem::basic_path<String,Traits>
> &boost::filesystem::basic_path<String,Traits>::operator =(const
> wchar_t *)'
> with
> [
> String=std::wstring,
> Traits=boost::filesystem::wpath_traits
> ]
> ..\..\..\boost/filesystem/path.hpp(309): or
> 'boost::filesystem::basic_path<String,Traits>
> &boost::filesystem::basic_path<String,Traits>::operator =(const
> boost::filesystem::basic_path<String,Traits> &)'
> with
> [
> String=std::wstring,
> Traits=boost::filesystem::wpath_traits
> ]
> while trying to match the argument list '(const
> boost::filesystem::basic_path<String,Traits>, const
> boost::filesystem::basic_path<String,Traits>)'
> with
> [
> String=std::wstring,
> Traits=boost::filesystem::wpath_traits
> ]
>
> call "D:\Program Files (x86)\Microsoft Visual Studio 8\VC
> \vcvarsall.bat"
> x86 >nul
> cl /Zm800 -nologo
> @"..\..\..\bin.v2\tools\regression\build\msvc-8.0\release\link-
> static\thread
> ing-multi\process_jam_log.obj.rsp"
>
> Everything worked fine yesterday.

I changed operations.hpp to bring up support for our Sgi and did it
badly. I've reverted the change.

-- Noel


Boost-testing list run by mbergal at meta-comm.com