Hi Phil, On So, 2008-07-27 at 20:27 -0400, Phil Longstaff wrote: > Andreas Köhler wrote: > > I cannot compile this file as gcc complains about "error: 'budget' is > > used uninitialized in this function". Actually, I think this is a > > -Wuninitialized warning (from -Wall) treated as error given -Werror. > > That flag is added by configure when the source tree is found in an > > svn/svk/git checkout, so it should be active for you as well. > > According to 'man gcc', -Wuninitialized is enabled by -Wall. However, > -Wuninitialized also requires -O. If -Wuninitialized is used without > -O, gcc gives a warning message. If -Winitialized is *not* specified, > but -Wall is, and -O is not present, there is no warning message and no > check for uninitialized variables. > > BTW, This is fixed in both the gobject-engine-dev2 tree (r17431) and > gda-dev2 (17432).
Ah, that was the bit of information is was missing. So I assume you built with -O0, because -O2 should be the default otherwise, right? Thanks for clearing this up. Ciao, -- andi5 PS: Please excuse my harsh tone, I did not mean to sound that way at all, actually.
signature.asc
Description: This is a digitally signed message part
_______________________________________________ gnucash-devel mailing list [email protected] https://lists.gnucash.org/mailman/listinfo/gnucash-devel
