This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Strange warning message
- To: Andrey Slepuhin <pooh at msu dot ru>
- Subject: Re: Strange warning message
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 29 Oct 1998 20:00:28 -200
- Cc: egcs at cygnus dot com
- References: <XFMail.981024002949.pooh@msu.ru>
Andrey Slepuhin <pooh@msu.ru> writes:
> tmp.cc:8: warning: private member `int X<int>::{anonymous union}::a' in
> anonymous union
> tmp.cc:9: warning: private member `char X<int>::{anonymous union}::b' in
> anonymous union
> If I remove namespaces or if class X is not a template class,
> warnings are not generated. Is it normal behavior?
Nope. Fixed in the latest 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