Boost logo

Boost :

From: Matthias Troyer (troyer_at_[hidden])
Date: 2004-07-26 12:46:11

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 convert.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()?


Boost list run by bdawes at, gregod at, cpdaniel at, john at