Mail Archives: djgpp/1998/03/27/18:45:46
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 -