🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.sys5
Article #324

V.4 cc bug

#324
From: Ron Guilmette
Date: Sun, 20 Jan 1991 09:02
20 lines
938 bytes
People who have systems based on V.4 could help me by trying to compile
the following short test program and by E-mailing the results.  (Please
indicate the source of your C compiler and your V.4 port and the type
of hardware that it runs on.)

If you get a compilation error from this (perfectly legal) ANSI C code,
then your C compiler has a bug.

	typedef const char *cpt;
	
	const char *p1;
	cpt p2;
	char c;
	
	int main ()
	{
	  p1 = &c;		/* legal */
	  p2 = &c;		/* also legal */
	  return 0;
	}
Technical Details
Message-ID: <3404@lupine.NCD.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!infopiz!lupine!lupine.ncd.com

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!infopiz!lupine!lupine.ncd.com
From: rfg@lupine.ncd.com (Ron Guilmette)
Newsgroups: comp.bugs.sys5
Subject: V.4 cc bug
Message-ID: <3404@lupine.NCD.COM>
Date: 20 Jan 91 09:02:17 GMT
Sender: news@NCD.COM
Organization: Network Computing Devices, Inc., Mt. View, CA
Lines: 20