Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10530: Attempting to define own lexical cast on solaris has to use deprected method
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-09-24 11:57:28
#10530: Attempting to define own lexical cast on solaris has to use deprected
method
--------------------------------------+--------------------------
Reporter: Tom Tanner <ttanner2@â¦> | Owner: apolukhin
Type: Bugs | Status: new
Milestone: To Be Determined | Component: lexical_cast
Version: Boost 1.55.0 | Severity: Regression
Resolution: | Keywords:
--------------------------------------+--------------------------
Comment (by apolukhin):
Hmmm, your code still works on GCC 4.6.4:
{{{
#include <iostream>
#include <boost/lexical_cast.hpp>
namespace boost {
template <> bool lexical_cast(std::string const &s) { return true; };
}
int main() {
std::cout << boost::lexical_cast<bool>(std::string("Foo"));
return 0;
}
}}}
This makes me think that the problem is related only to the Sun Studio
5.12 compiler. There are no
[http://www.boost.org/development/tests/develop/developer/lexical_cast.html
regression testers] that currently run the tests on Sun Studio. Two years
ago was the last time I saw someone running regression tests on Sun Studio
compiler (the compiler was not good because of big problems with partial
specializations).
Unfortunately it is impossible for me to solve your issue while there's no
regression tester. If you're willing to become one of the testers, take a
look at [http://www.boost.org/development/running_regression_tests.html
this page, section "Running Boost's Automated Regression and Reporting"].
Running those tests on Sun Studio will help the Boost developers to solve
many of the issues that you may have all around the Boost libraries.
Or, if you have a working solution for this issue, then you can make a
pull request with fix to the official
[https://github.com/boostorg/lexical_cast/tree/develop lexical cast repo].
Or just attach patch to this ticket.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10530#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:17 UTC