From: Matthias Troyer (troyer_at_[hidden])
Date: 2004-07-26 15:03:41
On Jul 26, 2004, at 12:02 PM, Rene Rivera wrote:
> Matthias Troyer wrote:
>> Dear Boosters,
>> I have encountered the following problem compiling program_options on
>> the IBM Visual Age compiler 6.0. There seems to be a problem with
>> exception declarations:
>> xlC -DHAVE_CONFIG_H -I../../src -I../../src -DNDEBUG
>> -I/users/matroyer/boost -DNDEBUG -q32 -qlanglvl=extended -O2 -c -M
>> /users/matroyer/boost/libs/program_options/src/convert.cpp -o
>> utf8_codecvt_facet.hpp", line 144.17: 1540-1163 (S) The
>> exception-specification for "int
>> do_length(mbstate_t &, const char *, const char *, std::size_t)
>> const" is less restrictive than the exception-specification for "int
>> std::codecvt<wchar_t,char,char *>::do_length(_St &, const _To *,
>> const _To *, size_t) const throw()".
>> Can the throw() declaration be added to do_length()?
> No. The section 220.127.116.11 clearly does not have the throw() as part of
> the signature. I would say this is a bug in the vacpp libraries.
Could we at least add a workaround for vacpp?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk