linux-traipu team mailing list archive
-
linux-traipu team
-
Mailing list archive
-
Message #08010
[Bug 1132659] [NEW] drizzle's sleep plugin fails to compile with boost >= 1.50
Public bug reported:
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
** Affects: drizzle
Importance: Undecided
Status: New
--
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
Follow ups
References