Compile Fails in qofsession.c
Casey Cichon
casey at wizkid.homelinux.net
Mon Jun 23 13:59:24 EDT 2008
Casey Cichon wrote:
> Josh Sled wrote:
>
>> 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.
>>
>>
>>
> I'm going to do --disable-error-on-warning for now, but I think I might
> try to track down why that error exists later when I have some more time.
>
> Casey
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>
>
Ok ... that worked .... the development version is installed again.
Thanks for the help.
Casey
More information about the gnucash-devel
mailing list