Incomplete enums in ANSI C?

Tim Olson tim at crackle.amd.com
Fri Oct 21 07:39:24 AEST 1988


What is the opinion of the ANSI experts out there as to the status of:
enum x;

How about:
enum x y;

The syntax trees would seem to allow it, the section on Tags is not
identified as constraint or semantics (although there is a relevant
footnote), so can any body "prove" that a) that it is allowed or b)
that it is not allowed or c) that it's a hole.

	-- Tim Olson
	Advanced Micro Devices
	(tim at crackle.amd.com)



More information about the Comp.lang.c mailing list