Re: [Boost-bugs] [Boost C++ Libraries] #12570: b2 ignores Iconv and disabled boost-locale lib, even though has_iconv.cpp passed

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12570: b2 ignores Iconv and disabled boost-locale lib, even though has_iconv.cpp passed
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-10-31 15:37:57


#12570: b2 ignores Iconv and disabled boost-locale lib, even though has_iconv.cpp
passed
-------------------------------+----------------------------
  Reporter: hbadger@… | Owner:
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: Building Boost
   Version: Boost 1.62.0 | Severity: Showstopper
Resolution: | Keywords: icu iconv
-------------------------------+----------------------------

Comment (by hbadger@…):

 When forcing build of locale (by editing libs/locale/build/Jamfile.v2 and
 disabling result += <build>no ; in line 274)
 I get following errors:

 {{{

 clang-linux.compile.c++.without-pth bin.v2/libs/locale/build/clang-
 linux-3.8.0/release/boost.locale.iconv-on/boost.locale.icu-
 off/boost.locale.std-off/link-static/runtime-link-static/target-os-darwin
 /threading-multi/encoding/codepage.o
 libs/locale/src/encoding/codepage.cpp:42:35: error: use of undeclared
 identifier 'converter_between'; did you mean 'convert_between'?
                     std::auto_ptr<converter_between> cvt;
                                   ^~~~~~~~~~~~~~~~~
                                   convert_between
 libs/locale/src/encoding/codepage.cpp:36:29: note: 'convert_between'
 declared here
                 std::string convert_between(char const *begin,
                             ^
 libs/locale/src/encoding/codepage.cpp:42:35: error: template argument for
 template type parameter must be a type
                     std::auto_ptr<converter_between> cvt;
                                   ^~~~~~~~~~~~~~~~~
 /home/ubuntu/build/osxcross/target/bin/../SDK/MacOSX10.11.sdk/usr/include/c++/4.2.1/memory:173:21:
 note: template parameter is declared here
   template<typename _Tp>
                     ^
 libs/locale/src/encoding/codepage.cpp:68:35: error: use of undeclared
 identifier 'converter_to_utf'
                     std::auto_ptr<converter_to_utf<CharType> > cvt;
                                   ^
 libs/locale/src/encoding/codepage.cpp:68:52: error: 'CharType' does not
 refer to a value
                     std::auto_ptr<converter_to_utf<CharType> > cvt;
                                                    ^
 libs/locale/src/encoding/codepage.cpp:61:35: note: declared here
                 template<typename CharType>
                                   ^
 libs/locale/src/encoding/codepage.cpp:68:62: error: expected unqualified-
 id
                     std::auto_ptr<converter_to_utf<CharType> > cvt;
                                                              ^
 libs/locale/src/encoding/codepage.cpp:94:35: error: no template named
 'converter_from_utf'; did you mean 'convert_from'?
                     std::auto_ptr<converter_from_utf<CharType> > cvt;
                                   ^~~~~~~~~~~~~~~~~~
                                   convert_from
 libs/locale/src/encoding/codepage.cpp:88:29: note: 'convert_from' declared
 here
                 std::string convert_from(
                             ^
 libs/locale/src/encoding/codepage.cpp:94:35: error: template argument for
 template type parameter must be a type
                     std::auto_ptr<converter_from_utf<CharType> > cvt;
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /home/ubuntu/build/osxcross/target/bin/../SDK/MacOSX10.11.sdk/usr/include/c++/4.2.1/memory:173:21:
 note: template parameter is declared here
   template<typename _Tp>
                     ^
 7 errors generated.
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12570#comment:2>
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:20 UTC