Fixing Linas' turds (was Re: Compile Error with latest cvs)

Derek Atkins warlord at MIT.EDU
Sun Apr 18 15:40:56 EDT 2004


Thanks.

Linas' changes to the engine from last night are just completely
broken.  Even after I fixed this problem I found a bunch of others
later on.  Even worse, his code started calling functions is additional
parameters, which is just illegal.

So I decided to revert his recent changes.  If you pull down CVS and
try again in a few minutes it should work again.  I'm just waiting for
my build/install to finish before I commit (the build has finished,
but not the install).

Linas: In the future PLEASE make sure the code actually BUILDS before
you commit!  Your "simple" change to QueryAccess resulted in a LOT of
other problems in many places in GnuCash.

-derek

Herbert Thoma <tma at iis.fhg.de> writes:

> Hi!
>
> I just updated and get the following error in the HEAD branch:
>
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/libc -I../../src -I../../src/gnc-module -DGNUCASH -I/opt/gnome/include/glib-1.2 -I/opt/gnome/lib/glib/include -I /opt/gnucash/g-wrap-latest/include/g-wrap -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Werror -MT Transaction.lo -MD -MP -MF .deps/Transaction.Tpo -c Transaction.c  -fPIC -o .libs/Transaction.o
> Transaction.c: In function `xaccSplitRegister':
> Transaction.c:3253: warning: initialization from incompatible pointer type
> Transaction.c:3255: warning: initialization from incompatible pointer type
> Transaction.c:3256: warning: initialization from incompatible pointer type
> Transaction.c:3257: warning: initialization from incompatible pointer type
> make[5]: *** [Transaction.lo] Fehler 1
> make[5]: Leaving directory `/opt/gnucash/gnucash_cvs/gnucash_work/src/engine'
> make[4]: *** [all-recursive]
>
>  Herbert.
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>
>

-- 
       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
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list