From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: startup-code Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: <4 DOT 3 DOT 1 DOT 1 DOT 20000912162729 DOT 00bfb3c0 AT mdh DOT se> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 28 X-Trace: /KHlxN7UWR54P80IEMYEFtgU1hWgdAzYEdXvAZv76ReKlFCz9QDY974wOOCJis4xnVPis4cGccg1!Eif+oC+2jxjTM5Lbf0YRTzFLl3pRwcBaSEiIt3mxLUQ/c+/yW/5PWm1T0ld/iBrGpT6sQiF5yI1i!nGXZFXQ= X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Tue, 12 Sep 2000 15:33:40 GMT Distribution: world Date: Tue, 12 Sep 2000 15:33:40 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Tue, 12 Sep 2000 16:59:26 +0100, Christer Sandberg wrote: >Declaring a global identifier named 'end' will clatch with some >startup/exit function or data. Internal data should have underscore as prefix. >Program built from the following code will crash on exit. >int end[1000]; >int main(void) >{ > memset(end, 0, sizeof(int)*1000) > return 0; >} > >Unfortunately I don't know which version of DJ I use To find out your DJGPP version, look in .../djgpp/manifest for djdev(something)b.mft gcc(something)b.mft bnu(something)b.mft and report the filenames. -- MS (n) 1. A debilitating and surprisingly widespread affliction that renders the sufferer barely able to perform the simplest task. 2. A disease, multiple sclerosis (see). This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/