linux-traipu team mailing list archive
-
linux-traipu team
-
Mailing list archive
-
Message #08722
[Bug 1132659] Re: drizzle's sleep plugin fails to compile with boost >= 1.50
For 7.1.36 I made a patch for Debian:
Not tested if it applied to trunk.
** Patch added: "boost-1.49.patch"
https://bugs.launchpad.net/drizzle/+bug/1132659/+attachment/3681420/+files/boost-1.49.patch
--
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to Drizzle.
https://bugs.launchpad.net/bugs/1132659
Title:
drizzle's sleep plugin fails to compile with boost >= 1.50
Status in A Lightweight SQL Database for Cloud Infrastructure and Web Applications:
New
Bug description:
In boost-1.50, the existing TIME_UTC macro is renamed to TIME_UTC_
(note the trailing underscore) due to a conflict with C11. For
details, see boost issue #6940
(https://svn.boost.org/trac/boost/ticket/6940).
Suggest adding something like
#include <boost/version.hpp>
#if BOOST_VERSION < 105000
# if __STDC_VERSION__ >= 201112L
# error Cannot use Boost < 1.50 with C11 compiler. Upgrade Boost or downgrade compiler.
# else
# define TIME_UTC_ TIME_UTC
# endif
#endif
and using TIME_UTC_ in plugins/sleep/sleep.cc
To manage notifications about this bug go to:
https://bugs.launchpad.net/drizzle/+bug/1132659/+subscriptions
References