|
Boost : |
From: Doug Gregor (dgregor_at_[hidden])
Date: 2007-08-22 10:56:42
I'm getting the following error in library_status.cpp, which is
keeping the OSL5 (C++0x) regression tester from submitting nightly
regression tests. The error is in library_status.cpp, although I
don't actually know what that is :)
gcc.compile.c++ ../../../bin.v2/tools/regression/build/gcc-4.3.0_c+
+0x/release/link-static/library_status.o
In file included from ../../../boost/function/detail/prologue.hpp:17,
from ../../../boost/function.hpp:24,
from ../../../boost/iterator/transform_iterator.hpp:
10,
from ../library_status.cpp:34:
../../../boost/function/function_base.hpp: In member function 'const
std::type_info& boost::function_base::target_type() const':
../../../boost/function/function_base.hpp:493: warning: dereferencing
type-punned pointer will break strict-aliasing rules
../library_status.cpp: In constructor '<unnamed>::col_node::col_node
(const std::string&)':
../library_status.cpp:92: warning: '<unnamed>::col_node::m_name' will
be initialized after
../library_status.cpp:91: warning: 'bool
<unnamed>::col_node::is_leaf_directory'
../library_status.cpp:95: warning: when initialized here
../library_status.cpp: In member function 'std::pair<int,
int><unnamed>::col_node::get_spans()':
../library_status.cpp:117: error: passing 'const<unnamed>::col_node'
as 'this' argument of 'std::pair<int,
int><unnamed>::col_node::get_spans()' discards qualifiers
../library_status.cpp: In function 'void<unnamed>::build_node_tree
(const boost::filesystem::path&, <unnamed>::col_node&)':
../library_status.cpp:131: error: invalid initialization of reference
of type '<unnamed>::col_node&' from expression of type
'const<unnamed>::col_node'
../library_status.cpp:124: error: in passing argument 2 of
'void<unnamed>::build_node_tree(const boost::filesystem::path&,
<unnamed>::col_node&)'
In file included from ../../../boost/test/impl/execution_monitor.ipp:30,
from ../../../boost/test/included/
prg_exec_monitor.hpp:18,
from ../library_status.cpp:817:
../../../boost/test/utils/basic_cstring/basic_cstring.hpp: At global
scope:
../../../boost/test/utils/basic_cstring/basic_cstring.hpp: In
instantiation of 'boost::unit_test::basic_cstring<const char>':
../../../boost/test/execution_monitor.hpp:125: instantiated from here
../../../boost/test/utils/basic_cstring/basic_cstring.hpp:209:
warning: type qualifiers ignored on function return type
../../../boost/test/utils/basic_cstring/basic_cstring.hpp:218:
warning: type qualifiers ignored on function return type
- Doug
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk