Strange warning message

Alexandre Oliva oliva@dcc.unicamp.br
Thu Oct 29 19:35:00 GMT 1998


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




More information about the Gcc mailing list