Re: [Boost-bugs] [Boost C++ Libraries] #7704: lexical_cast to filesystem::path fails for string::length > 22

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7704: lexical_cast to filesystem::path fails for string::length > 22
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-11-21 14:57:58


#7704: lexical_cast to filesystem::path fails for string::length > 22
-----------------------------------------------------+----------------------
  Reporter: Braden McDaniel <braden@…> | Owner: apolukhin
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: lexical_cast
   Version: Boost 1.52.0 | Severity: Problem
Resolution: | Keywords:
-----------------------------------------------------+----------------------

Comment (by Braden McDaniel <braden@…>):

 That's consistent with what I've seen: I was not able to reproduce the
 problem when building without the `-stdlib=libc++` flag. Unfortunately,
 the version of GNU libstdc++ available on Darwin is rather dated and thus
 not perceived as a path forward for new C++ development.

 Here is a backtrace from the throw point:

 {{{
 #0 0x00007fff8457254d in __cxa_throw ()
 #1 0x000000010000658c in boost::throw_exception<boost::bad_lexical_cast>
 (e=@0x7fff5fbff9a0) at throw_exception.hpp:66
 #2 0x0000000100006249 in
 boost::detail::lexical_cast_do_cast<boost::filesystem::path,
 std::__1::basic_string<char, std::__1::char_traits<char>,
 std::__1::allocator<char> > >::lexical_cast_impl (arg=@0x7fff5fbffaa0) at
 lexical_cast.hpp:2141
 #3 0x0000000100005b7c in boost::lexical_cast<boost::filesystem::path,
 std::__1::basic_string<char, std::__1::char_traits<char>,
 std::__1::allocator<char> > > (arg=@0x7fff5fbffaa0) at
 lexical_cast.hpp:2300
 #4 0x0000000100005162 in main () at lexical_cast_path.cpp:10
 }}}

 If you'd like me to try to get one from some other point in the code, let
 me know.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7704#comment:3>
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:11 UTC