bug in cc

Richard Draves draves at harvard.ARPA
Sun Jan 20 16:37:38 AEST 1985


I just started reading this group, so please excuse me
if this bug is well-known.

Our 4.2bsd cc accepts the following program as correct:

	/* note nested declaration of struct a */

	struct a
	{
		struct a
		{
			int b;
		} *c;
	} d;

I have no idea what the fix would be.

Rich
-- 

	"If I am conceited, it is the conceit of an amazing man
	 who has never found any surpassing himself."

						Al-Mutanabbi



More information about the Comp.bugs.4bsd.ucb-fixes mailing list