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]
Other format: [Raw text]

Re: Candidate fix for PR c/7353


On Mon, Oct 07, 2002 at 11:57:33PM -0700, Zack Weinberg wrote:
> 	* c-decl.c (start_decl): It is always an error to write
> 	"typedef T = expr;".
> 	(finish_decl): Remove special case for TYPE_DECL with nonzero INIT.
> 	* cp/decl.c: Likewise.
> 
> 	* doc/extend.texi: Delete documentation of "typedef T = expr;"
> 	extension.  Move useful example there to the "typeof" section,
> 	and rewrite it to use that extension instead.  Delete silly
> 	typeof example.  Change cross-references to "Naming Types" to
> 	refer to "Typeof" instead.

This is fine with me.


r~


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