🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.bugs.2bsd
Article #109

Bug in cc

#109
From: Sean Byrne
Date: Sun, 04 Dec 1983 06:15
23 lines
985 bytes
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
Technical Details
Message-ID: <738@garfield.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utcsrgv!garfield!sean

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site garfield.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utcsrgv!garfield!sean
From: sean@garfield.UUCP (Sean Byrne)
Newsgroups: net.bugs.2bsd
Subject: Bug in cc
Message-ID: <738@garfield.UUCP>
Date: Sun, 4-Dec-83 01:15:54 EST
Article-I.D.: garfield.738
Posted: Sun Dec  4 01:15:54 1983
Date-Received: Sun, 4-Dec-83 17:39:26 EST
Organization: Memorial Univ. of Nfld., St. John's, Canada
Lines: 23