
Hello, I'm trying to compile without results the Boost 1.44 package embedded with the ALPS libraries (http://alps.comp-phys.org/mediawiki/index.php/Main_Page) on AIX version 6.1, Visual Age C++ compiler 10.1. Soon after launching, compilation stops with the following error messages: subprogram boost::date_time::gregorian_calendar_base<boost::date_time::year_month_day_base<boost::gregorian::greg_year,boost::gregorian::greg_month,boost::gregorian::greg_day>,unsigned int>::end_of_month_day(year_type, month_type) could not be inlined into boost::gregorian::date::date(year_type, month_type, day_type). 1500-029: (W) WARNING: subprogram std::basic_string<char,std::char_traits<char>,std::allocator<char>
::_Assign<std::_Ptrit<char,long,const char *,const char &,char *,char &> >(_Ptrit<char,long,const char *,const char &,char *,char &>, _Ptrit<char,long,const char *,const char &,char *,char &>, input_iterator_tag) could not be inlined into boost::char_separator<char,std::char_traits<char> >::operator() <std::_Ptrit<char,long,const char *,const char &,char *,char &>,std::basic_string<char,std::char_traits<char>,std::allocator<char>
(_Ptrit<char,long,const char *,const char &,char *,char &> &, _Ptrit<char,long,const char *,const char &,char *,char &>, basic_string<char,std::char_traits<char>,std::allocator<char> > &). 1500-029: (W) WARNING: subprogram std::basic_string<char,std::char_traits<char>,std::allocator<char> ::_Assign<std::_Ptrit<char,long,const char *,const char &,char *,char &> >(_Ptrit<char,long,const char *,const char &,char *,char &>, _Ptrit<char,long,const char *,const char &,char *,char &>, input_iterator_tag) could not be inlined into boost::char_separator<char,std::char_traits<char> >::operator() <std::_Ptrit<char,long,const char *,const char &,char *,char &>,std::basic_string<char,std::char_traits<char>,std::allocator<char> (_Ptrit<char,long,const char *,const char &,char *,char &> &, _Ptrit<char,long,const char *,const char &,char *,char &>, basic_string<char,std::char_traits<char>,std::allocator<char> > &). 1500-029: (W) WARNING: subprogram std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> ::_Assign<wchar_t *>(wchar_t *, wchar_t *, input_iterator_tag) could not be inlined into boost::detail::lexical_cast<std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> ,const wchar_t *,0,wchar_t>(param_type, wchar_t *, size_t). 1500-029: (W) WARNING: subprogram std::basic_string<char,std::char_traits<char>,std::allocator<char> ::_Assign<char *>(char *, char *, input_iterator_tag) could not be inlined into boost::detail::lexical_cast<std::basic_string<char,std::char_traits<char>,std::allocator<char> ,const char *,0,char>(param_type, char *, size_t). 1500-029: (W) WARNING: subprogram boost::filesystem2::basic_directory_entry<boost::filesystem2::basic_path<std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> ,boost::filesystem2::wpath_traits> >::replace_filename(const string_type &, file_status, file_status) could not be inlined into boost::filesystem2::basic_directory_iterator<boost::filesystem2::basic_path<std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> ,boost::filesystem2::wpath_traits> >::increment(). 1500-029: (W) WARNING: subprogram boost::filesystem2::basic_directory_entry<boost::filesystem2::basic_path<std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> ,boost::filesystem2::wpath_traits> >::assign(const path_type &, file_status, file_status) could not be inlined into boost::filesystem2::basic_directory_iterator<boost::filesystem2::basic_path<std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> ,boost::filesystem2::wpath_traits> >::m_init(const basic_path<std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> ,boost::filesystem2::wpath_traits> &). 1500-029: (W) WARNING: subprogram boost::filesystem2::basic_directory_entry<boost::filesystem2::basic_path<std::basic_string<char,std::char_traits<char>,std::allocator<char> ,boost::filesystem2::path_traits> >::replace_filename(const string_type &, file_status, file_status) could not be inlined into boost::filesystem2::basic_directory_iterator<boost::filesystem2::basic_path<std::basic_string<char,std::char_traits<char>,std::allocator<char> ,boost::filesystem2::path_traits> >::increment(). 1500-029: (W) WARNING: subprogram boost::filesystem2::basic_directory_entry<boost::filesystem2::basic_path<std::basic_string<char,std::char_traits<char>,std::allocator<char> ,boost::filesystem2::path_traits> >::assign(const path_type &, file_status, file_status) could not be inlined into boost::filesystem2::basic_directory_iterator<boost::filesystem2::basic_path<std::basic_string<char,std::char_traits<char>,std::allocator<char> ,boost::filesystem2::path_traits> >::m_init(const basic_path<std::basic_string<char,std::char_traits<char>,std::allocator<char> ,boost::filesystem2::path_traits> &). "/gpfs/scratch/userexternal/jalfonsi/alps-2.0.0b4-r4959-src-with-boost/boost/boost/filesystem/v3/path.hpp", line 476.7: 1540-0716 (S) The template argument "boost::iterator" does not match the template parameter "class Derived". make[2]: *** [src/boost/CMakeFiles/boost.dir/__/__/boost/libs/filesystem/v3/src/operations.cpp.o] Error 1 make[1]: *** [src/boost/CMakeFiles/boost.dir/all] Error 2 make: *** [all] Error 2
Can someone tell me please if the compiler version could be the issue ? I see on Boost main page that 1.44 has been tested with Visual Age 11.1. I didn't have such problem with Boost 1.43 . Best regards Jessica

On 25 Oct 2010, at 11:14, jessica.alfonsi@unipd.it wrote:
Hello, I'm trying to compile without results the Boost 1.44 package embedded with the ALPS libraries (http://alps.comp-phys.org/mediawiki/index.php/Main_Page) on AIX version 6.1, Visual Age C++ compiler 10.1. Soon after launching, compilation stops with the following error messages:
subprogram boost::date_time::gregorian_calendar_base<boost::date_time::year_month_day_base<boost::gregorian::greg_year,boost::gregorian::greg_month,boost::gregorian::greg_day>,unsigned int>::end_of_month_day(year_type, month_type) could not be inlined into boost::gregorian::date::date(year_type, month_type, day_type). 1500-029: (W) WARNING: subprogram std::basic_string<char,std::char_traits<char>,std::allocator<char>
::_Assign<std::_Ptrit<char,long,const char *,const char &,char *,char &> >(_Ptrit<char,long,const char *,const char &,char *,char &>, _Ptrit<char,long,const char *,const char &,char *,char &>, input_iterator_tag) could not be inlined into boost::char_separator<char,std::char_traits<char> >::operator() <std::_Ptrit<char,long,const char *,const char &,char *,char &>,std::basic_string<char,std::char_traits<char>,std::allocator<char>
(_Ptrit<char,long,const char *,const char &,char *,char &> &, _Ptrit<char,long,const char *,const char &,char *,char &>, basic_string<char,std::char_traits<char>,std::allocator<char> > &). 1500-029: (W) WARNING: subprogram std::basic_string<char,std::char_traits<char>,std::allocator<char> ::_Assign<std::_Ptrit<char,long,const char *,const char &,char *,char &> >(_Ptrit<char,long,const char *,const char &,char *,char &>, _Ptrit<char,long,const char *,const char &,char *,char &>, input_iterator_tag) could not be inlined into boost::char_separator<char,std::char_traits<char> >::operator() <std::_Ptrit<char,long,const char *,const char &,char *,char &>,std::basic_string<char,std::char_traits<char>,std::allocator<char> (_Ptrit<char,long,const char *,const char &,char *,char &> &, _Ptrit<char,long,const char *,const char &,char *,char &>, basic_string<char,std::char_traits<char>,std::allocator<char> > &). 1500-029: (W) WARNING: subprogram std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> ::_Assign<wchar_t *>(wchar_t *, wchar_t *, input_iterator_tag) could not be inlined into boost::detail::lexical_cast<std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> ,const wchar_t *,0,wchar_t>(param_type, wchar_t *, size_t). 1500-029: (W) WARNING: subprogram std::basic_string<char,std::char_traits<char>,std::allocator<char> ::_Assign<char *>(char *, char *, input_iterator_tag) could not be inlined into boost::detail::lexical_cast<std::basic_string<char,std::char_traits<char>,std::allocator<char> ,const char *,0,char>(param_type, char *, size_t). 1500-029: (W) WARNING: subprogram boost::filesystem2::basic_directory_entry<boost::filesystem2::basic_path<std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> ,boost::filesystem2::wpath_traits> >::replace_filename(const string_type &, file_status, file_status) could not be inlined into boost::filesystem2::basic_directory_iterator<boost::filesystem2::basic_path<std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> ,boost::filesystem2::wpath_traits> >::increment(). 1500-029: (W) WARNING: subprogram boost::filesystem2::basic_directory_entry<boost::filesystem2::basic_path<std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> ,boost::filesystem2::wpath_traits> >::assign(const path_type &, file_status, file_status) could not be inlined into boost::filesystem2::basic_directory_iterator<boost::filesystem2::basic_path<std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> ,boost::filesystem2::wpath_traits> >::m_init(const basic_path<std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> ,boost::filesystem2::wpath_traits> &). 1500-029: (W) WARNING: subprogram boost::filesystem2::basic_directory_entry<boost::filesystem2::basic_path<std::basic_string<char,std::char_traits<char>,std::allocator<char> ,boost::filesystem2::path_traits> >::replace_filename(const string_type &, file_status, file_status) could not be inlined into boost::filesystem2::basic_directory_iterator<boost::filesystem2::basic_path<std::basic_string<char,std::char_traits<char>,std::allocator<char> ,boost::filesystem2::path_traits> >::increment(). 1500-029: (W) WARNING: subprogram boost::filesystem2::basic_directory_entry<boost::filesystem2::basic_path<std::basic_string<char,std::char_traits<char>,std::allocator<char> ,boost::filesystem2::path_traits> >::assign(const path_type &, file_status, file_status) could not be inlined into boost::filesystem2::basic_directory_iterator<boost::filesystem2::basic_path<std::basic_string<char,std::char_traits<char>,std::allocator<char> ,boost::filesystem2::path_traits> >::m_init(const basic_path<std::basic_string<char,std::char_traits<char>,std::allocator<char> ,boost::filesystem2::path_traits> &). "/gpfs/scratch/userexternal/jalfonsi/alps-2.0.0b4-r4959-src-with-boost/boost/boost/filesystem/v3/path.hpp", line 476.7: 1540-0716 (S) The template argument "boost::iterator" does not match the template parameter "class Derived". make[2]: *** [src/boost/CMakeFiles/boost.dir/__/__/boost/libs/filesystem/v3/src/operations.cpp.o] Error 1 make[1]: *** [src/boost/CMakeFiles/boost.dir/all] Error 2 make: *** [all] Error 2
Can someone tell me please if the compiler version could be the issue ? I see on Boost main page that 1.44 has been tested with Visual Age 11.1. I didn't have such problem with Boost 1.43 .
This seems to be a filesystem v3 issue - can anyone help? Jessica, ALPS 2.0 should also work with Boost 1.43, which can be used as a atopgap solution Matthias
participants (2)
-
jessica.alfonsi@unipd.it
-
Matthias Troyer