Subject: [Boost-bugs] [Boost C++ Libraries] #5807: Debug build of the program asserts calling iscntrl(c) in boost::spirit::detail::token_printer_debug_for_chars::print(), with c == -127
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-08-23 14:01:56
#5807: Debug build of the program asserts calling iscntrl(c) in
boost::spirit::detail::token_printer_debug_for_chars::print(), with c ==
-127
-----------------------------------------------------+----------------------
Reporter: Stephen Torri <stephen.torri@â¦> | Owner: djowel
Type: Bugs | Status: new
Milestone: To Be Determined | Component: spirit
Version: Boost 1.47.0 | Severity: Problem
Keywords: |
-----------------------------------------------------+----------------------
When using a hexidecimal string that contains a negative value with the
attached parser causes an assert to be thrown when calling iscntrl(c) in
boost::spirit::detail::token_printer_debug_for_chars::print(), with c ==
-127. Disabling debug output allows the program to succeed and produce
the following output:
successfully parsed
33026
772
Attached is a sample program that causes the error. The program was tested
with Visual Studio 2010 (SP1) and Visual Studio 2008 (Boost 1.45).
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5807> 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:07 UTC