gda-dev does not compile
Phil Longstaff
plongstaff at rogers.com
Fri Dec 8 18:45:44 EST 2006
> Thanks, Phil. My next attempt at building ended with this:
> gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I../../.. -I../../..
> -I.. -I../.. -DLOCALE_DIR=\"/opt/gnucash-svn15192/share/locale\"
> -I../../../src/backend -I../../../src/engine -I../../../src/core-utils
> -I../../../lib/libc -I../../../lib/libqof/qof -I../../../lib/libqof/qof
> -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DORBIT2=1
> -pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> -I/usr/include/libgda-1.99 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Werror -O2
> -march=i486 -mcpu=pentium2 -g -Wall -Wunused -Wmissing-prototypes
> -Wmissing-declarations -Wno-unused -MT gnc-backend-gda.lo -MD -MP -MF
> .deps/gnc-backend-gda.Tpo -c gnc-backend-gda.c -fPIC -DPIC -o
> .libs/gnc-backend-gda.o
> gnc-backend-gda.c: In function `load_numeric':
> gnc-backend-gda.c:656: warning: `num' might be used uninitialized in
> this function
> gnc-backend-gda.c:656: warning: `denom' might be used uninitialized in
> this function
> make[5]: *** [gnc-backend-gda.lo] Error 1
>
> These warnings are generally important, and should be looked into.
>
> I'm going to try again passing --disable-error-on-warning to configure.
I don't get these warnings. What version of GCC do you have?
I will fix this. The warning is correct but the uninitialized value
would never be used so there would be no effect.
Phil
More information about the gnucash-devel
mailing list