
----- Original Message -----
From: Lars Viklund <zao@acc.umu.se> To: boost@lists.boost.org Cc: Sent: Tuesday, July 26, 2011 5:19 PM Subject: Re: [boost] Boost.Locale 'Status'?
On Tue, Jul 26, 2011 at 04:53:12AM -0700, Artyom Beilis wrote:
I want to release it with 1.48. - I'm waiting for response from AIX/vacpp service that runs tests to see why the library fails (all test of Visual Age compiler 100% passed on Linux, so I'd like to know why they don't on AIX.
I gave it a shot on my AIX 5.3 box with VisualAge C++ 11.01.0000.0006, boost-trunk r73376. I've got no idea whether our iconv is system-provided or custom-built, as this isn't quite a vanilla install.
The test log is inline below, note the failure to match iconv() when building libboost_locale.so, and all the remainder of the tests chickening out because of that.
[snip]
../../../bin.v2/libs/locale/build/vacpp/debug/threading-multi/encoding/codepage.o "../../../libs/locale/src/encoding/iconv_codepage.ipp", line 40.16: 1540-0219 (S) The call to "iconv" has no best match. "../../../libs/locale/src/encoding/iconv_codepage.ipp", line 40.22: 1540-1228 (I) Argument number 1 is an lvalue of type "iconv_t". "../../../libs/locale/src/encoding/iconv_codepage.ipp", line 40.27: 1540-1228 (I) Argument number 2 is an lvalue of type "char **". "../../../libs/locale/src/encoding/iconv_codepage.ipp", line 40.33: 1540-1228 (I) Argument number 3 is an lvalue of type "size_t *". "../../../libs/locale/src/encoding/iconv_codepage.ipp", line 40.45: 1540-1228 (I) Argument number 4 is an lvalue of type "char **". "../../../libs/locale/src/encoding/iconv_codepage.ipp", line 40.52: 1540-1228 (I) Argument number 5 is an lvalue of type "size_t *". "../../../libs/locale/src/encoding/../util/iconv.hpp", line 28.23: 1540-1202 (I) No candidate is better than "boost::locale::iconv(iconv_t, char **, size_t *, char **, size_t *)". "../../../libs/locale/src/encoding/iconv_codepage.ipp", line 40.22: 1540-1231 (I) The conversion from argument number 1 to "__iconv_rec *" uses "an lvalue-to-rvalue transformation". "../../../libs/locale/src/encoding/iconv_codepage.ipp", line 40.27: 1540-1231 (I) The conversion from argument number 2 to "char **" uses "an lvalue-to-rvalue transformation". "../../../libs/locale/src/encoding/iconv_codepage.ipp", line 40.33: 1540-1231 (I) The conversion from argument number 3 to "unsigned long *" uses "an lvalue-to-rvalue transformation". "../../../libs/locale/src/encoding/iconv_codepage.ipp", line 40.45: 1540-1231 (I) The conversion from argument number 4 to "char **" uses "an lvalue-to-rvalue transformation". "../../../libs/locale/src/encoding/iconv_codepage.ipp", line 40.52: 1540-1231 (I) The conversion from argument number 5 to "unsigned long *" uses "an lvalue-to-rvalue transformation". "/usr/include/iconv.h", line 100.17: 1540-1202 (I) No candidate is better than "iconv(iconv_t, char ** restrict, size_t * restrict, char ** restrict, size_t * restrict)". "../../../libs/locale/src/encoding/iconv_codepage.ipp", line 40.22: 1540-1231 (I) The conversion from argument number 1 to "__iconv_rec *" uses "an lvalue-to-rvalue transformation". "../../../libs/locale/src/encoding/iconv_codepage.ipp", line 40.27: 1540-1231 (I) The conversion from argument number 2 to "char ** restrict" uses "an lvalue-to-rvalue transformation". "../../../libs/locale/src/encoding/iconv_codepage.ipp", line 40.33: 1540-1231 (I) The conversion from argument number 3 to "unsigned long * restrict" uses "an lvalue-to-rvalue transformation". "../../../libs/locale/src/encoding/iconv_codepage.ipp", line 40.45: 1540-1231 (I) The conversion from argument number 4 to "char ** restrict" uses "an lvalue-to-rvalue transformation". "../../../libs/locale/src/encoding/iconv_codepage.ipp", line 40.52: 1540-1231 (I) The conversion from argument number 5 to "unsigned long * restrict" uses "an lvalue-to-rvalue transformation".
Thanks, I've commited a changeset 73382 that may be would solve the problem, Would you be so kind to check it? If not is it possible to give me a signature of the iconv function in iconv.h? Thank you very much! Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.sf.net/ CppDB - C++ SQL Connectivity: http://cppcms.sf.net/sql/cppdb/