This is the mail archive of the gcc@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]

Re: Q: enum within template class


Vanja Cvjetko <vcvjetko@tel.hr> writes:

> /home/gcl/gcl/example/Tests/egcs-1.1b/BUG_enum_within_class_template.cpp:67:
> new declaration `enum X<T>::Something X<T>::x_something() const'
> /home/gcl/gcl/example/Tests/egcs-1.1b/BUG_enum_within_class_template.cpp:48:
> ambiguates old declaration `const enum X<T>::Something
> X<T>::x_something() const'

thanks for your bug report.  This problem is fixed in the latest egcs
snapshot.

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:oliva@gnu.org mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil



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