[Boost-bugs] [Boost C++ Libraries] #8124: No more exception when casting from negative number string to unsigned

Subject: [Boost-bugs] [Boost C++ Libraries] #8124: No more exception when casting from negative number string to unsigned
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-20 08:15:34


#8124: No more exception when casting from negative number string to unsigned
-----------------------------------------------+----------------------------
 Reporter: Bernd Raum <braum@…> | Owner: apolukhin
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: lexical_cast
  Version: Boost 1.51.0 | Severity: Problem
 Keywords: lexical_cast unsigned |
-----------------------------------------------+----------------------------
 With gcc 4.2.4, a lexical_cast from negative number strings to an unsigned
 causes a bad_lexical_cast exception. With gcc 4.7.1 and 4.7.2, the value
 interpreted as positive integer is assigned instead.
 This bug occurs with Boost 1.33 and 1.51 on Open Suse and Solaris 10.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8124>
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:12 UTC