Article View: comp.os.msdos.programmer
Article #3038Re: TC 2.0 odd behaviour, me or it ?
From: jagrogan
Date: Wed, 14 Nov 1990 13:26
Date: Wed, 14 Nov 1990 13:26
21 lines
1530 bytes
1530 bytes
> I have a program compiled under TC 2.0 which executes perfectly except
> that it generates a Null pointer assignment AFTER the last instruction
> (as determined by putting a puts() in and getting the error message
> after the intentonal one).
I used to get that error with TC2.0 as well. I can't exactly say how I got
rid of it, but I found that by using full ANSI C, the problem disappeared.
I think it has something to do with declaring main() as void main() or
whatever it returns.
Hope this helps.
John Grogan.
--
-------------------------------------------------------------------------------------
jagrogan%vax1.tcd.ie@cornellc.cit.cornell.edu
jagrogan%vax1.tcd.ie@pucc.princeton.edu
3rd Year Computer Science jagrogan@vax1.tcd.ie@cunyvm.cuny.edu
Trinity College Dublin. jagrogan@vax1.tcd.ie
jagrogan@unix1.tcd.ie
uunet!vax1.tcd.ie!JAGROGAN@uunet.uu.net
-------------------------------------------------------------------------------------
"I haven't lost my mind.....I'm sure it's backed up here somewhere!"
Technical Details
Message-ID:
<7268.274145fc@vax1.tcd.ie>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!tcdcs!swift.cs.tcd.ie!vax1.tcd.ie!jagroganReferences:
<7129@castle.ed.ac.uk>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!tcdcs!swift.cs.tcd.ie!vax1.tcd.ie!jagrogan From: jagrogan@vax1.tcd.ie Newsgroups: comp.os.msdos.programmer Subject: Re: TC 2.0 odd behaviour, me or it ? Message-ID: <7268.274145fc@vax1.tcd.ie> Date: 14 Nov 90 13:26:20 GMT References: <7129@castle.ed.ac.uk> Organization: Trinity College Dublin Lines: 21