On Mon, 26 Jan 2009 12:56:54 +0100
Vladimir Nadvornik <nadvor...@suse.cz> wrote:

> On po 26. ledna 2009, z...@users.sourceforge.net wrote:
> > Revision: 1356
> >           http://geeqie.svn.sourceforge.net/geeqie/?rev=1356&view=rev
> > Author:   zas_
> > Date:     2009-01-26 08:36:23 +0000 (Mon, 26 Jan 2009)
> >
> > Log Message:
> > -----------
> > Add -Wformat and -Wformat-security gcc options when --enable-debug-flags is
> > set, move default optimization to -O2 by default (-O0 is only useful for
> > specific debugging purposes).
> >
> --enable-debug-flags
> Whole --enable-debug-flags option is for specific debugging purposes. I think
> that there must be -O0.
> 
> Vladimir
> 

I'm not fond of this configure option, imho most warning options should be 
enabled by default,
this way if a warning is visible on a specific platform, one may report it.

-O0 may hide some (compiler) optimization bugs and is not used in the "real" 
world.
Though i agree -O0 may have some usefulness when analyzing certain core files.

I have reverted this part of the patch in revision 1357.

-- 
Laurent MONIN aka Zas

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel

Reply via email to