egcs 1.1b bogus warning?

Alexandre Oliva oliva@dcc.unicamp.br
Sat Dec 5 23:24:00 GMT 1998


On Oct  6, 1998, Trevor Taylor <ttaylor@powerup.com.au> wrote:

> xxx.cxx:34: warning: declaration of `A<T>::X()' throws different
> exceptions

> template<class T> class A { public: void X() throw(T); };
> template<class T> inline void A<T>::X() throw(T) { }

Thanks, I installed your testcase in the testsuite.

-- 
Alexandre Oliva  http://www.dcc.unicamp.br/~oliva  aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil




More information about the Gcc-bugs mailing list