Subject: [Boost-bugs] [Boost C++ Libraries] #976: Updating ICU support in Boost.Regex
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-05-22 09:08:48
#976: Updating ICU support in Boost.Regex
----------------------------+-----------------------------------------------
Reporter: johnmaddock | Owner: johnmaddock
Type: Patches | Status: new
Milestone: | Component: Building Boost
Version: release 1.34.0 | Severity: Regression
Keywords: regex |
----------------------------+-----------------------------------------------
Two quick regex patches: A patch for the Jamfile so that ICU libraries
are correctly detected on Win32 (the existing Jamfile works but issues a
warning 'cos it can't verify that the libraries are available). A second
fixes the ICU test case so it builds with VC8. Both are trivial IMO.
Index: build/Jamfile.v2
===================================================================
RCS file: /cvsroot/boost/boost/libs/regex/build/Jamfile.v2,v
retrieving revision 1.12
diff -u -r1.12 Jamfile.v2
--- build/Jamfile.v2 17 Feb 2007 12:22:49 -0000 1.12
+++ build/Jamfile.v2 22 May 2007 09:04:27 -0000
@@ -45,6 +45,10 @@
{
gICU_CORE_LIB = icuuc ;
}
+ else if [ GLOB $(dir)/lib : icuuc.* ]
+ {
+ gICU_CORE_LIB = icuuc ;
+ }
else if [ GLOB $(dir)/lib : libicuuc.* ]
{
gICU_CORE_LIB = icuuc ;
RCS file: /cvsroot/boost/boost/libs/regex/test/regress/test_icu.cpp,v
retrieving revision 1.5
diff -u -r1.5 test_icu.cpp
--- test/regress/test_icu.cpp 14 Sep 2005 12:20:08 -0000 1.5
+++ test/regress/test_icu.cpp 22 May 2007 09:04:29 -0000
@@ -39,8 +39,8 @@
{
private:
Seq* container;
- typedef const typename Seq::value_type value_type;
public:
+ typedef const typename Seq::value_type value_type;
typedef Seq container_type;
typedef std::output_iterator_tag iterator_category;
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/976>
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:55 UTC