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: Strange warning message


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



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