Subject: [Boost-bugs] [Boost C++ Libraries] #3246: Patch for compatibility with STLport
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-07-06 16:04:05
#3246: Patch for compatibility with STLport
----------------------------------+-----------------------------------------
Reporter: andysem | Owner: rogeeff
Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: test
Version: Boost Release Branch | Severity: Problem
Keywords: test stlport |
----------------------------------+-----------------------------------------
Boost.Test doesn't compile with GCC 4.3.3 when STLPort 5.2.1 is used with
string template expressions enabled. There are two problems, actually:
1. STLPort uses "long long" type internally, but due to "warnings=all"
flag in the Jamfile.v2 all such places are flagged as errors by GCC
("error: ISO C++ 1998 does not support âlong longâ"). Removing the flag or
changing it to "warnings=on" solves the problem.
2. When template expressions feature is used std::string concatenation
does not result in another std::string object but a temporary object of
some internal type. Therefore unit_test_parameters.ipp compilation fails
everywhere where the result of string concatenation is passed as a
function argument.
The attached patch fixes both problems.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3246> 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:00 UTC