This is the mail archive of the gcc-bugs@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: 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

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