|
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