disable error on warning

Neil Williams linux at codehelp.co.uk
Tue Aug 16 11:15:30 EDT 2005


On Saturday 13 August 2005 1:15 am, David Hampton wrote:
> > On Fri, 2005-08-12 at 23:59 +0100, Neil Williams wrote:
> > Are you using --disable-error-on-warning?
>
> No.  Why would I want to do that?

I'd prefer not to as well, but I've just tried to build without it and the 
build halts on a scheme file:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/libc -I../../src 
-I../../src/gnc-module -DGNUCASH -pthread -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I /usr/include/g-wrap -g -O2 -Wall -Wunused 
-Wmissing-prototypes -Wmissing-declarations-Werror -MT gw-engine.lo -MD -MP 
-MF .deps/gw-engine.Tpo -c gw-engine.c  -fPIC -o .libs/gw-engine.o
cc1: warnings being treated as errors
gw-engine.c: In function 'gw__tmp427_xaccQueryAddDateMatch_wrapper':
gw-engine.c:16688: warning: 'gw__scm_extras[0]' is used uninitialized in this 
function
make[4]: *** [gw-engine.lo] Error 1
make[4]: Leaving directory `/opt/build/gnome2/src/engine'

(I used cd <top_builddir> && cvs update -Pd && make clean && ./autogen.sh 
--enable-opt-style-install --prefix=<my_prefix> && make)

How can you build G2 without --disable-error-on-warning?

I've never been able to do so.

I've no idea where to start debugging that error message.

If I can't build src/engine without disable-error-on-warning then, frankly, I 
have no option BUT to use it - 99% of my work is either in src/engine or 
directly dependent on the engine libraries.

-- 

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20050816/ae84d3f1/attachment.bin


More information about the gnucash-devel mailing list