
Hi John,
Sorry 'bout that - I just made a change. It should work fine now.
still problems! Greetings Olaf $ LANG=en g++ -v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu Thread model: posix gcc version 4.2.3 20071123 (prerelease) (Debian 4.2.2-4) $ LANG=en g++ -Iboost/logging -Iboost/logging/lib/logging/samples/starter/ boost/logging/lib/logging/samples/starter/log.cpp -olog In file included from boost/logging/boost/logging/detail/logger.hpp:29, from boost/logging/boost/logging/logging.hpp:26, from boost/logging/boost/logging/format_fwd.hpp:25, from boost/logging/lib/logging/samples/starter/log.h:5, from boost/logging/lib/logging/samples/starter/log.cpp:2: boost/logging/boost/logging/detail/logger_base.hpp:28:11: warning: missing terminating ' character In file included from boost/logging/lib/logging/samples/starter/log.cpp:2: boost/logging/lib/logging/samples/starter/log.h:47: error: 'g_l' declared as function returning a function boost/logging/lib/logging/samples/starter/log.cpp: In function 'boost::logging::log_holder<boost::logging::logger_format_write<boost::logging::default_, boost::logging::default_, boost::logging::writer::threading::ts_write, boost::logging::default_, boost::logging::scenario::usage::detail_find_logger::find_logger<boost::logging::scenario::usage::logger_::favor::correctness, boost::logging::scenario::usage::logger_::change::often<10>, boost::logging::default_>::lock_resource<10> >, boost::logging::default_, boost::logging::override>& g_l()': boost/logging/lib/logging/samples/starter/log.cpp:14: error: new declaration 'boost::logging::log_holder<boost::logging::logger_format_write<boost::logging::default_, boost::logging::default_, boost::logging::writer::threading::ts_write, boost::logging::default_, boost::logging::scenario::usage::detail_find_logger::find_logger<boost::logging::scenario::usage::logger_::favor::correctness, boost::logging::scenario::usage::logger_::change::often<10>, boost::logging::default_>::lock_resource<10> >, boost::logging::default_, boost::logging::override>& g_l()' boost/logging/lib/logging/samples/starter/log.h:47: error: ambiguates old declaration 'int g_l()' boost/logging/lib/logging/samples/starter/log.cpp: At global scope: boost/logging/lib/logging/samples/starter/log.cpp:14: error: no matching function for call to 'boost::logging::ensure_early_log_creation::ensure_early_log_creation(int)' boost/logging/boost/logging/detail/log_keeper.hpp:86: note: candidates are: boost::logging::ensure_early_log_creation::ensure_early_log_creation(type&) [with type = int] boost/logging/boost/logging/detail/log_keeper.hpp:85: note: boost::logging::ensure_early_log_creation::ensure_early_log_creation(const boost::logging::ensure_early_log_creation&) boost/logging/lib/logging/samples/starter/log.cpp: In function 'void init_logs()': boost/logging/lib/logging/samples/starter/log.cpp:20: error: base operand of '->' is not a pointer boost/logging/lib/logging/samples/starter/log.cpp:21: error: base operand of '->' is not a pointer boost/logging/lib/logging/samples/starter/log.cpp:22: error: base operand of '->' is not a pointer boost/logging/lib/logging/samples/starter/log.cpp:23: error: base operand of '->' is not a pointer boost/logging/lib/logging/samples/starter/log.cpp:26: error: base operand of '->' is not a pointer boost/logging/lib/logging/samples/starter/log.cpp:27: error: base operand of '->' is not a pointer boost/logging/lib/logging/samples/starter/log.cpp:28: error: base operand of '->' is not a pointer