Re: [Boost-bugs] [Boost C++ Libraries] #4850: Regression test failures with ICU 4.4.2

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4850: Regression test failures with ICU 4.4.2
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-11-14 17:39:59


#4850: Regression test failures with ICU 4.4.2
--------------------------------------+-------------------------------------
  Reporter: ktchan | Owner: johnmaddock
      Type: Bugs | Status: reopened
 Milestone: Boost-1.46.0 | Component: regex
   Version: Boost Development Trunk | Severity: Regression
Resolution: | Keywords:
--------------------------------------+-------------------------------------

Comment (by anonymous):

 I've reproducing that - building in both orders starting from a clean
 install each time - but it still works for me here.

 Here's some test code using just ICU, that I hope will let you reproduce
 the issue:

 {{{
 #include <unicode/utypes.h>
 #include <unicode/uchar.h>
 #include <unicode/coll.h>

 #include <iostream>
 #include <iomanip>

 int main()
 {
    U_NAMESPACE_QUALIFIER Locale l;
    std::cout << l.getName() << std::endl;
    UErrorCode success = U_ZERO_ERROR;
    U_NAMESPACE_QUALIFIER Collator* pcol = U_NAMESPACE_QUALIFIER
 Collator::createInstance(l, success);
    if(U_SUCCESS(success) == 0)
    {
       std::cout << "Collator failed to initialize" << std::endl;
       exit(1);
    }

     return 0;
 }
 }}}

 What I suspect is happening here is that since the code uses a default
 locale, that somehow your ICU install does not have whatever locale your
 machine is using installed in the ICU dll's.

 Frankly though, if the code behaves differently depending upon what order
 you build things (or which bits you build), then that has to be an ICU
 bug?

 Hopefully though, this'll get us closer to understanding what's going on.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4850#comment:3>
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:04 UTC