| delorie.com/archives/browse.cgi | search |
| From: | "Tom Morton" <tmorton AT yikesstation DOT freeserve DOT co DOT uk> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Program too large? |
| Date: | Wed, 29 Sep 1999 00:56:23 +0100 |
| Organization: | Yikes Station Ltd. |
| Message-ID: | <7srlju$65r$1@news6.svr.pol.co.uk> |
| References: | <Pine DOT SUN DOT 3 DOT 91 DOT 990928092947 DOT 17309E-100000 AT is> <7sqj96$kee$1 AT news8 DOT svr DOT pol DOT co DOT uk> <7sqp0b$mtb$1 AT solomon DOT cs DOT rose-hulman DOT edu> |
| NNTP-Posting-Host: | modem-106.anadrol.dialup.pol.co.uk |
| X-Trace: | news6.svr.pol.co.uk 938564030 6331 62.136.51.234 (29 Sep 1999 00:13:50 GMT) |
| NNTP-Posting-Date: | 29 Sep 1999 00:13:50 GMT |
| X-Complaints-To: | abuse AT theplanet DOT net |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Newsreader: | Microsoft Outlook Express 5.00.2014.211 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2014.211 |
| Lines: | 35 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Damian Yerrick <web DOT poison AT pineight DOT 8m DOT com> wrote in message news:7sqp0b$mtb$1 AT solomon DOT cs DOT rose-hulman DOT edu... > > Tom Morton <tmorton AT yikesstation DOT freeserve DOT co DOT uk> wrote in message > news:7sqj96$kee$1 AT news8 DOT svr DOT pol DOT co DOT uk... > > > > I am using a makefile. The only compiler options i'm using are -s and > > -O2 (and -lalleg). I often see makefiles with -Wall. Maybe I should > > add that, too (?). > > Yes. -Wall will find more bugs than you would in a nest. It places a > -Wall of protection around bad programming. When I started using > -Wall, my man hours became so much more valuable. ROTFL!! I added -Wall and you wouldn't believe how many warnings I got! After an hour (or so) of working through them everything was running warningless and an obscure bug (that I still don't know the source of) had disappeared! BTW any way of avoiding warnings associated with sprintf(buffer, "%d", long integer); It reports that format should be integer and not long but works fine with long. -- Yikes Station: The Best Frontier Elite 2 Website http://www.yikesstation.freeserve.co.uk/frontier/yikes.htm Tom 'Moretom' Morton
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |