Can some one help

Nathan Sidwell nathan@codesourcery.com
Sun Apr 20 17:10:00 GMT 2003


Luiz Rafael Culik Guimaraes wrote:
> Dear Friends
> 
> I has an c++ code that worked properly with gcc 2.95.3.
> Now i updated to gcc 3.2.2 and i get this errors
> 
> ZipException.h:187: looser throw specifier for `virtual 
>    CZipException::~CZipException()'
> /usr/include/c++/3.2.2/exception:54:   overriding `virtual 
>    std::exception::~exception() throw ()'
> ZipException.h:187: looser throw specifier for `virtual 
>    CZipException::~CZipException()'
> /usr/include/c++/3.2.2/exception:54:   overriding `virtual 
>    std::exception::~exception() throw ()'
> ZipException.h:187: looser throw specifier for `virtual 
>    CZipException::~CZipException()'
> /usr/include/c++/3.2.2/exception:54:   overriding `virtual 
>    std::exception::~exception() throw ()'
This means that 'CZipException::~CZipException()' (which can
throw anything) can throw more exception types than
'std::exception::~exception() throw ()' (which can't throw any).

[15.4]/3 tells the details

nathan

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
          The voices in my head said this was stupid too
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org




More information about the Gcc-help mailing list