delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/20/10:46:13

Date: Tue, 20 Oct 1998 16:45:37 +0200
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Message-Id: <199810201445.QAA17836@acp3bf.physik.rwth-aachen.de>
To: dgale AT mailexcite DOT com (Doug Gale)
Cc: djgpp AT delorie DOT com
Subject: Re: Profile suggestions
Newsgroups: comp.os.msdos.djgpp
Organization: RWTH Aachen, III. physikalisches Institut B
X-Newsreader: TIN [version 1.2 PL2]
Reply-To: djgpp AT delorie DOT com

In article <362C28A9 DOT 4CD070DF AT mailexcite DOT com> you wrote:
[...]

> My opinion? Sure:
> Developing code: -W -Wall -Wno-sign-compare -g -O0
> -fno-omit-frame-pointer

This is not a good idea, as '-O0' (i.e.: no optimization at all)
*disables* quite a set of warnings you would normally get from
'-Wall'. That's because in -O0 mode, gcc doesn't analyze the code in
enough depth to even find these problematic cases. For *full* warning
level, you need '-Wall -W -O'. 

-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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