This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: C++ typedef redefinitions and templates
> An additional note: There may be a defect report with the C++ committee
> which would forbid repeated typedef's in classes so that the current gcc
> behaviour would be correct.
Thanks for the info. Looking at
http://www.informatik.hu-berlin.de/~loewis/corer9.html#56
it indeed looks like this is an adopted DR. So I guess the change
1999-05-28 Mark Mitchell <mark@codesourcery.com>
* decl.c (add_binding): Don't complain about a redeclaration of a
semantically identical typedef in a local scope.
must be reverted...
Martin