Bug in cc

Sean Byrne sean at garfield.UUCP
Sun Dec 4 16:15:54 AEST 1983


I have noticed this bug in 2.8 (in might be in 2.9 although WE
HAVEN'T GOT IT YET).  It is this:

struct	abcdef {
	int a;
	char name[256];
}

struct ghijkl {
	int a;
	char name[256];
}

to which the compiler promptly replies:
a.c: name redeclared

Integers are not redeclared, only arrays.  This problem is fixed in 4.1
and greater.

Anybody fix/encounter this problem yet?
-- 
Sean Byrne 	Memorial University of NF	St. John's, Nfld
UUCP:	{allegra, ihnp4, utcsrgv}!garfield!sean



More information about the Comp.bugs.2bsd mailing list