delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/27/18:45:46

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: 2 rhide q's.
Date: Fri, 27 Mar 1998 18:40:42 -0500
Organization: Two pounds of chaos and a pinch of salt.
Lines: 31
Message-ID: <351C38FA.2FCB@cs.com>
References: <Up6wygy00WB80_jkc0 AT andrew DOT cmu DOT edu>
NNTP-Posting-Host: ppp246.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

James W Sager Iii wrote:
> 
> Is there someway to supress warnings in rhide?

Why would you want to?  Most warnings indicate either genuine
programming errors or code that has been time-proven to work very
unreliably; you should pay attention to them.  If you disable the
'-Wall' switch in RHIDE's compiler options, you can suppress many of the
warnings that gcc emits, but you do so at the risk of having buggy
code!  If the '-Wall' switch is already disabled, then the remaining
warnings should never be ignored.  Warnings can be individually enabled
and disabled via the vast plethora of '-W...' switches; see the gcc docs
for details.  Adding "no-" before a switch reverses the effect (as in
'-Wno-implicit').

I cringe whenever I see in a program's README that it "compiles without
errors and only a few warnings" on so-and-so platform...  If a program
that I write generates warnings, I fix them!

> Is there a way to import a text file to use as watch variables for debugging?

This I don't know; although it would be very cool.  Perhaps it's
something that can be added to the project file?  Robert?

-- 
---------------------------------------------------------------------
|      John M. Aldrich       | "A 'critic' is a man who creates     |
|       aka Fighteer I       | nothing and thereby feels qualified  |
|   mailto:fighteer AT cs DOT com   | to judge the work of creative men."  |
| http://www.cs.com/fighteer |               - Lazarus Long         |
---------------------------------------------------------------------

- Raw text -


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