Boost logo

Boost Users :

From: Rob Marsden (rob_at_[hidden])
Date: 2006-02-16 15:16:38


I see many compilation problems here in the list, so I hope you will
forgive me adding to the clutter.

Can someone tell me what I'm doing wrong or missing to get the following.

When building Boost 1.33.0, the date_time, program_options and wave
libraries fail to build. I am after the program_options in particular.

My environment is intel_win32 running in the MSVC v6 IDE.
The output from the build runs to 176Kb, but of the very many errors,
the typical ones are:

C:\Libraries\boost_1_33_0\libs\program_options\build\../src/options_description.cpp(378):
error: too few arguments for class template "std::reverse_iterator"
find(reverse_iterator<string::const_iterator>(line_end - 1),

C:\Libraries\boost_1_33_0\libs\program_options\build\../src/variables_map.cpp(81):
error: no instance of overloaded function "std::set<_K, _Pr, _A>::insert
[with _K=std::string, _Pr=std::less<std::string>,
_A=std::allocator<std::string>]" matches the argument list
             argument types are: (std::set<std::string,
std::less<std::string>, std::allocator<std::string>>::iterator,
std::set<std::string, std::less<std::string>,
std::allocator<std::string>>::iterator)
             object type is: std::set<std::string,
std::less<std::string>, std::allocator<std::string>>
           xm.m_final.insert(new_final.begin(), new_final.end());
                      ^
These recur many times in the program_option builds, plus things like:

C:\Libraries\boost_1_33_0/boost/lexical_cast.hpp(156): error: no
operator ">>" matches these operands
             operand types are: std::basic_stringstream<char,
std::char_traits<char>, std::allocator<char>> >>
boost::date_time::date_names_put<boost::gregorian::greg_facet_config,
wchar_t, std::ostreambuf_iterator<wchar_t,
std::char_traits<wchar_t>>>::string_type
                          stream >> output &&
                                 ^
  detected during:
             instantiation of "bool={bool}
boost::detail::lexical_stream<Target,
Source>::operator>>(InputStreamable &) [with
Target=boost::date_time::date_names_put<boost::gregorian::greg_facet_config,
wchar_t={unsigned short}, std::ostreambuf_iterator<wchar_t={unsigned
short}, std::char_traits<wchar_t={unsigned short}>>>::string_type,
Source=boost::detail::array_to_pointer_decay<const wchar_t={unsigned
short} *>::type={const wchar_t={unsigned short} *},
...
and so on to
...
             instantiation of
"boost::date_time::all_date_names_put<Config, charT,
OutputIterator>::all_date_names_put(const charT *const *, const charT
*const *, const charT *const *, const charT *const *, const charT *const
*, charT, boost::date_time::ymd_order_spec,
boost::date_time::month_format_spec) [with
Config=boost::gregorian::greg_facet_config, charT=wchar_t={unsigned
short}, OutputIterator=std::ostreambuf_iterator<wchar_t={unsigned
short}, std::char_traits<wchar_t={unsigned short}>>]"

-- 
Rob Marsden
Gistix (Northern) Limited

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net