Subject: [Boost-bugs] [Boost C++ Libraries] #8866: boost log 1.54 - simple logging example won't compile
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-07-21 02:58:10
#8866: boost log 1.54 - simple logging example won't compile
------------------------------+-------------------------
Reporter: chisser98@⦠| Owner: andysem
Type: Bugs | Status: new
Milestone: To Be Determined | Component: log
Version: Boost 1.54.0 | Severity: Showstopper
Keywords: log |
------------------------------+-------------------------
I compiled Boost 1.54 on my Debian 7 64 bit Linux box and installed it
successfully.
However, when trying to use it in my project I'm getting a huge bunch of
errors (Full dump is here: http://pastebin.com/zUTcb7vp).
I was previously using boost 1.52 with the svn head of boost-log (which
worked fine).
I tried creating a simple test app, which is below:
{{{
#include <boost/log/trivial.hpp>
#include <boost/log/utility/init/to_file.hpp>
int main(int, char*[])
{
BOOST_LOG_TRIVIAL(trace) << " a trace message ";
}
}}}
This fails to compile (full stacktrace here:
http://pastebin.com/xiXZZVYb).
I removed the
{{{
#include <boost/log/utility/init/to_file.hpp>
}}}
line, but it still fails to compile.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8866> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:13 UTC