Another bug in C compilers

Larry Cipriani lvc at danews.UUCP
Wed Jul 30 05:40:42 AEST 1986


I believe I've found a bug in the C compiler for the Sys 5 Rel 2 3B20.
Say we have a structure declared as:

struct ABC
{
	stuff
};

and then follow it with:

struct ABC;

I don't get any error message.  This is also in my CB-UNIX 2.3
pdp 11/70 C compiler.  Perhaps it is in your compiler also.  Is
this really a bug or am I missing something ?  If its not a bug
what on earth is it for ?
-- 

Larry Cipriani		AT&T Network Systems
danews!lvc		"Nothing is worse than an itch you can never scratch."



More information about the Comp.lang.c mailing list