🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #9257

Re: Bug in Lattice C 4.01

#9257
From: Mike (I'm in love with my car) M...
Date: Wed, 06 Jul 1988 09:28
22 lines
1262 bytes
In article <5016@watcgl.waterloo.edu> jvkelley@watcgl.waterloo.edu (Jeff Kelley) writes:
<Taking the 'sizeof' an undefined structure returns a 0 rather than
<generating an error.

That's not a bug, that's a feature.

At least, Lattice thinks it is. That's why the gave you the "-ct"
switch to lc. It causes such things to be reported as a warning (#
61).

Of course, they make up for it by considering several
common-in-machine-generated-code but nonsensical cases (like an empty
file) to be an error instead of a warning (gnashing of teeth in the
background).

	<mike

--
Kiss me with your mouth.				Mike Meyer
Your love is better than wine.				mwm@berkeley.edu
But wine is all I have.					ucbvax!mwm
Will your love ever be mine?				mwm@ucbjade.BITNET
Technical Details
Message-ID: <11716@agate.BERKELEY.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!mit-eddie!rutgers!ucsd!ucbvax!agate!eris!mwm
References: <5016@watcgl.waterloo.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!mit-eddie!rutgers!ucsd!ucbvax!agate!eris!mwm
From: mwm@eris.berkeley.edu (Mike (I'm in love with my car) Meyer)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Bug in Lattice C 4.01
Message-ID: <11716@agate.BERKELEY.EDU>
Date: 6 Jul 88 09:28:10 GMT
References: <5016@watcgl.waterloo.edu>
Sender: usenet@agate.BERKELEY.EDU
Distribution: comp
Organization: Missionaria Phonibalonica
Lines: 22