This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Q: enum within template class
- To: Vanja Cvjetko <vcvjetko at tel dot hr>
- Subject: Re: Q: enum within template class
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 08 Oct 1998 13:32:47 -300
- Cc: egcs at cygnus dot com, egcs-bugs at cygnus dot com
- References: <361C8550.FC8FE097@linux.rulz.tel.hr>
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