delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/16/20:57:43

Date: Mon, 16 Mar 1998 17:57:18 -0800 (PST)
Message-Id: <199803170157.RAA24167@adit.ap.net>
Mime-Version: 1.0
To: dstewart AT thepentagon DOT com, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: Help!--> Newbie @ DJGPP & RHIDE

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019