This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Can some one help


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 at codesourcery dot com : http://www.cs.bris.ac.uk/~nathan/ : nathan at acm dot org



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]