Compile Fails in qofsession.c

Josh Sled jsled at asynchronous.org
Mon Jun 23 13:28:48 EDT 2008


Casey Cichon <casey at wizkid.homelinux.net> writes:
> After a few weeks away from using the development gnucash version to 
> upgrade my machine from Fedora 5 to Ubuntu gutsy (soon to be hardy).  I 
> get this when running ....

> cc1: warnings being treated as errors
> qofsession.c: In function 'qof_session_save':
> qofsession.c:1214: warning: 'msg' may be used uninitialized in this function

> i used the following configure line ....
>  ./configure --enable-compile-warnings --enable-ofx --enable-doxygen
>
> is something broke that I just missed in the emails.

You're now using a different compiler, which generates a warning on that line
where the previous one did not.  By default, we run gcc with '-Werror', which
promotes warnings to errors.

You can choose to fix the warning in qofsession.c, or ./configure with
"--disable-error-on-warning", which will keep building in the face of the
warning.

-- 
...jsled
http://asynchronous.org/ - a=jsled; b=asynchronous.org; echo ${a}@${b}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20080623/17ee33b5/attachment.bin 


More information about the gnucash-devel mailing list