This is the mail archive of the
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
it indeed looks like this is an adopted DR. So I guess the change
1999-05-28 Mark Mitchell <firstname.lastname@example.org>
* decl.c (add_binding): Don't complain about a redeclaration of a
semantically identical typedef in a local scope.
must be reverted...