This is the mail archive of the gcc-patches@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: Patch for struct/union/enum tag handling


On Wed, Jan 31, 2001 at 12:54:36AM +0000, Joseph S. Myers wrote:
> 	* c-parse.in (structsp): Pedwarn when "enum foo" refers to an
> 	incomplete type.
> 	(typename): Call pending_xref_error after parsing typed_typespecs.
> 	* c-decl.c (lookup_tag): Give error immediately rather than
> 	leaving it pending if the tag of the wrong type is in the same
> 	binding level.
> 	(xref_tag): Don't pedwarn for forward declarations of enum types
> 	here.
> 	* gcc.texi (Actual Bugs): Remove entry for misuse of struct, union
> 	and enum tags.

Ok.


r~

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