Boost logo

Boost :

From: Jens Seidel (jensseidel_at_[hidden])
Date: 2007-11-09 18:11:09


On Fri, Nov 09, 2007 at 11:39:38PM +0100, Maik Beckmann wrote:
> Am Freitag 09 November 2007 23:23:57 schrieb John Torjo:
> > Ouch :) Sorry, I had a test which allowed TSS to run only on Windows.
> > Could you please try again, with the latest code from SVN?
> > http://svn.boost.org/svn/boost/sandbox/logging/
>
> Failed for other reasons ( see attached log )

There are indeed many more errors. I tried to fix these but failed
probably because of many circular header dependencies. Adding a missing
header causes always many other errors ... Please inspect these e.g.
via doxygen.

I attached a patch which fixes at least a few superfluous semicolons.
Why do you use these? Compile with -pedantic -Wall -W!

I get the following errors compiling a single main.cpp:

g++ -I ~/Boost/svn/logging/ -pedantic -I ~/Boost/svn/trunk/ -Wall -W main.cpp
In file included from main.cpp:64:
log.h:7: error: specialization of ‘boost::logging::formatter::msg_type<boost::logging::override>’ after instantiation
log.h:7: error: redefinition of ‘struct boost::logging::formatter::msg_type<boost::logging::override>’
/home/jens/Programme/Entwicklung/Boost/svn/logging/boost/logging/detail/format_msg_type.hpp:38: error: previous definition of ‘struct boost::logging::formatter::msg_type<boost::logging::override>’
log.h:17: error: ‘level’ has not been declared
log.h:17: error: expected constructor, destructor, or type conversion before ‘&’ token
log.h:17: error: ‘level’ was not declared in this scope
log.h:17: error: wrong number of template arguments (1, should be 2)
~/Boost/svn/logging/boost/logging/detail/log_keeper.hpp:81: error: provided for ‘template<class type, type& (* func)()> struct boost::logging::detail::log_filter_keeper’
log.h:17: error: invalid type in declaration before ‘;’ token
main.cpp: In function ‘int main(int, char**)’:
main.cpp:119: error: base operand of ‘->’ is not a pointer
main.cpp:123: error: base operand of ‘->’ is not a pointer
main.cpp:125: error: base operand of ‘->’ is not a pointer
~/Boost/svn/trunk/boost/system/error_code.hpp: At global scope:
~/Boost/svn/trunk/boost/system/error_code.hpp:176: warning: ‘boost::system::errno_ecat’ defined but not used
~/Boost/svn/trunk/boost/system/error_code.hpp:177: warning: ‘boost::system::native_ecat’ defined but not used

Jens




Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk