Subject: [Boost-bugs] [Boost C++ Libraries] #1625: assertion fails in cpp_regex_traits.hpp for Dinkumware(Win32)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-02-07 10:19:47
#1625: assertion fails in cpp_regex_traits.hpp for Dinkumware(Win32)
---------------------------------------------------------------+------------
Reporter: Takeshi Mouri <takeshi.mouri.net_at_[hidden]> | Owner: eric_niebler
Type: Bugs | Status: new
Milestone: Boost 1.36.0 | Component: xpressive
Version: Boost 1.34.1 | Severity: Problem
Keywords: |
---------------------------------------------------------------+------------
The assertion at cpp_regex_traits.hpp(267) fails with non classic locale
on Dinkumware(Win32).
{{{
#!cpp
BOOST_ASSERT(0 == (this->masks_[i] &
non_std_ctype_masks));
}}}
I checked on Windows 2000/XP/Vista with "Japanese_Japan.932" locale.
The value of std::ctype_base::mask means the type WORD of the function
GetStringTypeA().
The type WORD can contain the following additional flags:
C1_DEFINED(0x0200):
The character is defined.
0x8000:
Undocumented.
Probably the character is not defined.
For example, the leading byte of multi-byte character.
So these flags should be contained in std_ctype_reserved.
Please see the attachment.
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1625>
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:49:57 UTC