Mail Archives: djgpp/1998/03/16/20:57:43
At 01:57 3/16/1998 -0600, dstewart AT thepentagon DOT com wrote:
>Also, under the compiler warnings menu, what warnings should I check?? I am
>new to C in general, and am used to using Borland Turbo C 2.0 for DOS, and
>Borland Turbo C++ 1.0 Lite for DOS, and I've never seen those kind of options
>before. If I check all of the warnings boxes, and run a simple program, I get
>all kinds of warnings that otherwise I wouldnt get!!
In general, you should probably use all the warnings you can. The compiler
is your friend, and can save you a lot of debugging work. When you get a
warning you don't expect, you should think about what it means. Many are
caused by not #including the right headers, not casting appropriately, and such.
Nate Eldredge
eldredge AT ap DOT net
- Raw text -