Mail Archives: djgpp/1999/09/28/11:57:17
Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote in message
news:Pine DOT SUN DOT 3 DOT 91 DOT 990928092947 DOT 17309E-100000 AT is...
>
> On Tue, 28 Sep 1999, Tom Morton wrote:
>
> > The last thing I did before it stopped working was add an extra function
> > to main.c. I tried re-compiling it but it still didn't work so I moved it
> > [the function] to another source file and everything worked again. <shrug>
> > Oh well, as long as it works...
>
> FWIW, I don't like such ``solutions''. There's some problem lurking
> in your code, waiting to bite you again. It is better to debug it now
> than to sweep it under the carpet. How do you know that the problem,
> whatever it is, doesn't introduce a subtle bug into your program that
> you simply don't see?
>
> Feel free to post more details, if you want to pursue this further.
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 (?).
--
Yikes Station: The Best Frontier Elite 2 Website
http://www.yikesstation.freeserve.co.uk/frontier/yikes.htm
Tom 'Moretom' Morton
- Raw text -