Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7053: lexical_cast and gtest
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-07-05 19:15:57
#7053: lexical_cast and gtest
---------------------------+------------------------------------------------
Reporter: anonymous | Owner: johnmaddock
Type: Bugs | Status: new
Milestone: Boost 1.51.0 | Component: math
Version: Boost 1.50.0 | Severity: Showstopper
Resolution: | Keywords:
---------------------------+------------------------------------------------
Changes (by apolukhin):
* cc: antoshkka@⦠(added)
* owner: apolukhin => johnmaddock
* component: lexical_cast => math
* severity: Problem => Showstopper
* milestone: To Be Determined => Boost 1.51.0
Comment:
Build failure is caused by adding boost/tr1/tr1 to compiler's include
search path.[[BR]]
Reproduced it on gcc:
{{{
In file included from ../../trunk/boost/math/complex/details.hpp:20:0,
from ../../trunk/boost/math/complex/asin.hpp:9,
from ../../trunk/boost/math/complex.hpp:10,
from ../../trunk/boost/tr1/complex.hpp:13,
from ../../trunk/boost/tr1/tr1/complex:28,
from
../../trunk/boost/math/special_functions/math_fwd.hpp:31,
from
../../trunk/boost/math/special_functions/sign.hpp:17,
from ../../trunk/boost/lexical_cast.hpp:153,
from
../../trunk/libs/conversion/test/lexical_cast_arrays_test.cpp:11:
../../trunk/boost/math/special_functions/fpclassify.hpp:123:27: error:
expected initializer before 'BOOST_NO_MACRO_EXPAND'
}}}
Looks more like a boost::math or boost::tr1 library bug
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7053#comment:1> 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:10 UTC