What version of gcc are you using?
What version of g-wrap?
What OS/Platform/Distro?
ON my FC3 machine I don't have this problem.
-derek
Quoting Neil Williams <[EMAIL PROTECTED]>:
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/
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
[EMAIL PROTECTED] PGP key available
_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel