
Compiling only boost/logging/macros.hpp with a trivial main() results in:
In file included from ~/Boost/svn/logging/boost/logging/detail/ts/ts_resource.hpp:25, || from ~/Boost/svn/logging/boost/logging/detail/fwd.hpp:25, || from ~/Boost/svn/logging/boost/logging/macros.hpp:24, || from /tmp/testPDXvVD.cpp:1: ~/Boost/svn/logging/boost/logging/detail/tss/tss.hpp|58| error: expected '>' before 'BOOST_LOG_TSS_USE_CUSTOM' || In file included from ~/Boost/svn/logging/boost/logging/detail/fwd.hpp:25, || from ~/Boost/svn/logging/boost/logging/macros.hpp:24, || from /tmp/testPDXvVD.cpp:1: ~/Boost/svn/logging/boost/logging/detail/ts/ts_resource.hpp|220| error: wrong number of template arguments (1, should be 2) ~/Boost/svn/logging/boost/logging/detail/tss/tss.hpp|58| error: provided for 'template<class type, template<class> class thread_specific_ptr_type> struct boost::logging::tss_value' ~/Boost/svn/logging/boost/logging/detail/ts/ts_resource.hpp|293| error: wrong number of template arguments (1, should be 2) ~/Boost/svn/logging/boost/logging/detail/tss/tss.hpp|58| error: provided for 'template<class type, template<class> class thread_specific_ptr_type> struct boost::logging::tss_value'
Please note that the error occurs from the include in line 24 of macros.hpp *before* you define BOOST_LOG_TSS_USE_CUSTOM. So any file included in macros.hpp depends itself from macros.hpp.
Ouch, thanks for pointing it out :P Fixed. Best, John -- http://John.Torjo.com -- C++ expert ... call me only if you want things done right