Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!emory!gatech!prism!np4 From: np4@prism.gatech.EDU (POMPONIO,NICHOLAS A) Newsgroups: comp.os.msdos.programmer Subject: Re: TC 2.0 odd behaviour, me or it ? Message-ID: <16962@hydra.gatech.EDU> Date: 13 Nov 90 13:30:17 GMT References: <7129@castle.ed.ac.uk> Organization: Georgia Institute of Technology Lines: 19 In article <7129@castle.ed.ac.uk> djm@castle.ed.ac.uk (D Murphy) writes: >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). > >Anyone know why this might be happening ? > >Murff... As I understand it, the TC runtime system checks location 0:0 at exit time to see if it was modified. If so, it prints the warning message. Thus, even though the message occurs at the end of the program, the actual Null pointer assignment could occur any anywhere in the program. -- POMPONIO,NICHOLAS A Georgia Institute of Technology, Atlanta Georgia, 30332 uucp: ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!np4 Internet: np4@prism.gatech.edu