Re: [Boost-bugs] [Boost C++ Libraries] #764: [regex] add support for a BOOST_NO_CREGEX mode

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #764: [regex] add support for a BOOST_NO_CREGEX mode
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-08-06 08:57:05


#764: [regex] add support for a BOOST_NO_CREGEX mode
-------------------------------+--------------------------------------------
  Reporter: vividos | Owner: johnmaddock
      Type: Feature Requests | Status: closed
 Milestone: | Component: regex
   Version: None | Severity: Problem
Resolution: worksforme | Keywords:
-------------------------------+--------------------------------------------
Changes (by johnmaddock):

  * status: assigned => closed
  * resolution: None => worksforme
  * severity: => Problem


Old description:

> {{{
> There is a BOOST_NO_WREGEX mode in Boost.Regex that
> disables support for wide character regex classes when
> no support is available (either BOOST_NO_CWCHAR,
> BOOST_NO_CWCTYPE or BOOST_NO_STD_WSTRING has to be
> defined). A BOOST_NO_CREGEX mode would be desirable to
> support platforms that define BOOST_NO_ANSI_APIS and
> don't have the necessary C runtime or Win32 functions.
> It would also help when one wants to test if his
> application does use ansi (regex) classes.
>
> I attached a possible patch that patches the related
> files in boost/regex/, but there would be considerable
> work (I guess) in libs/regex/ to omit using ansi API
> functions.
> }}}

New description:

 {{{
 There is a BOOST_NO_WREGEX mode in Boost.Regex that
 disables support for wide character regex classes when
 no support is available (either BOOST_NO_CWCHAR,
 BOOST_NO_CWCTYPE or BOOST_NO_STD_WSTRING has to be
 defined). A BOOST_NO_CREGEX mode would be desirable to
 support platforms that define BOOST_NO_ANSI_APIS and
 don't have the necessary C runtime or Win32 functions.
 It would also help when one wants to test if his
 application does use ansi (regex) classes.

 I attached a possible patch that patches the related
 files in boost/regex/, but there would be considerable
 work (I guess) in libs/regex/ to omit using ansi API
 functions.
 }}}

--
Comment:
 I'm closing this one, as Boost.Regex now builds on WinCE, which I believe
 was the original issue.
-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/764#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:00 UTC