From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: Library problem? Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: <3900d15d DOT 7050493 AT news DOT telusplanet DOT net> <8dsbvo DOT 3vvpilr DOT 0 AT buerssner-17104 DOT user DOT cis DOT dfn DOT de> <39029b14 DOT 12321442 AT news DOT telusplanet DOT net> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 16 X-Trace: /wzbxcs/yPtulhTGCp76QkApPfsCgFm5rFAVFff0MuRSdCxi337+iHdD+7P+mhGPpiE9UUbnujHH!v6+TMQXXM+a1q8O3Z26GDiPwxxzQm6mXUpmEQUnoFMWYG9+J2Rmg8LH19CTwkVIjXW+HsD+1kce/!VLQ7gPo= 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: Mon, 24 Apr 2000 02:45:08 GMT Distribution: world Date: Mon, 24 Apr 2000 02:45:08 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Sun, 23 Apr 2000 14:45:08 GMT, kalyniuk AT telusplanet DOT net wrote: >I solved my problem but I still don't understand why my program >compiled and linked without complaining. Probably because you forgot to include -Wall in the flags you passed to GCC. -Wall turns on lots of useful warnings. gpp -Wall foo.c -o foo.exe -- Damian Yerrick "I refuse to listen to those who refuse to listen to reason." See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/