Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
boost-libs broken on -current (exceptions again?)
Hi!
Is boost-libs building for anyone on -current?
I've tried on 6.99.47 with both clang and gcc (in both cases starting
a bulk build without any existing binary packages, independently for
clang and gcc), and it failed building with many errors, some of them
are:
./boost/serialization/throw_exception.hpp: In function 'void
boost::serialization::throw_exception(const std::exception&)':
./boost/serialization/throw_exception.hpp:30:5: error: 'throw_exception' is not
a member of 'boost'
::boost::throw_exception(e);
^
./boost/serialization/throw_exception.hpp:29:44: error: variable or field
'throw_exception' declared void
inline void throw_exception(std::exception const & e) {
^
./boost/serialization/throw_exception.hpp:29:29: error: 'exception' is not a
member of 'std'
inline void throw_exception(std::exception const & e) {
^
./boost/program_options/variables_map.hpp: At global scope:
./boost/program_options/variables_map.hpp:30:11: warning: attribute ignored in
declaration of 'class boost::program_options::variables_map' [-Wattributes]
class variables_map;
^
./boost/program_options/variables_map.hpp:30:11: note: attribute for 'class
boost::program_options::variables_map' must follow the 'class' keyword
libs/program_options/src/variables_map.cpp: In function 'void
boost::program_options::store(const parsed_options&,
boost::program_options::variables_map&, bool)':
libs/program_options/src/variables_map.cpp:103:9: error: expected 'catch'
before 'xm'
xm.m_final.insert(new_final.begin(), new_final.end());
^
libs/program_options/src/variables_map.cpp:103:9: error: expected '(' before
'xm'
libs/program_options/src/variables_map.cpp:103:9: error: expected
type-specifier before 'xm'
libs/program_options/src/variables_map.cpp:103:11: error: expected ')' before
'.' token
xm.m_final.insert(new_final.begin(), new_final.end());
^
libs/program_options/src/variables_map.cpp:103:11: error: expected '{' before
'.' token
libs/program_options/src/variables_map.cpp:103:11: error: expected
primary-expression before '.' token
The first two of these remind me of the C++ programs that don't work
any longer (see my previous post to this list).
Thomas
Home |
Main Index |
Thread Index |
Old Index