[patch] More gcc 4.2.3 compilation fixes

Andreas Köhler andi5.py at gmx.net
Sun Dec 30 15:21:28 EST 2007


Am Sonntag, den 30.12.2007, 14:52 -0500 schrieb Jerry Quinn:
> Andreas Köhler wrote:
> > Hi Jerry,
> > 
> >> This patch squelches the warnings but I can't help feeling like there 
> >> should be a cleaner way of solving the problem.
> > 
> > An alternative would be to disable this type of warning completely, like
> > in the attached patch.  Does it work for you?
> That would work, but my thought was that in general it's better to keep 
> as many warnings enabled as possible.  I was reluctant to turn the 
> warning off, since it could catch important problems.
> I suppose one option would be to disable the warning only for the 
> affected files.  I'm not sure how much makefile gymnastics are required 
> to achieve that, though.  I'm not automake-savvy.

The attached patch disables the warning for all source files in
src/business/business-core.  For even finer granularity one would have
to do one of


I am not sure that is necessary.  But maybe there is a better answer out

-- andi5

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Wno-address.patch
Type: text/x-patch
Size: 1267 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20071230/c76a42cb/attachment.bin 

More information about the gnucash-devel mailing list