Re: gnucash gentoo-amd64

2006-02-17 Thread Andreas Köhler
Hi, On Friday, 17 Feb 2006, 04:35 CET, Chris Lyttle wrote: > Derek, > > r13279 on amd64 > > > dialog-account.c -fPIC -DPIC -o .libs/dialog-account.o > dialog-account.c: In function `gnc_account_type_view_create': > dialog-account.c:1150: warning: cast from pointer to integer of > different siz

Re: gnucash gentoo-amd64

2006-02-17 Thread Derek Atkins
Andreas Köhler <[EMAIL PROTECTED]> writes: > Blame me. Does attached patch solve that issue? Ergo always convert > to and from pointers with these macros? I guess so. Yes, you should always cast with the GPOINTER_TO_INT and GINT_TO_POINTER macros. > -- andi5 > > > PS: If you want foster my progr

Re: gnucash gentoo-amd64

2006-02-17 Thread Chris Shoemaker
On Fri, Feb 17, 2006 at 08:57:33AM +0100, Andreas Köhler wrote: > > + types |= (1 << GPOINTER_TO_INT (list->data)); I just committed this fix as r13280. -chris ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mail

Re: Build and run in separate directory

2006-02-17 Thread Derek Atkins
Mike Alexander <[EMAIL PROTECTED]> writes: > If you try to build gnucash in a directory other than the source > directory you get a couple of build errors. If you try to run from > that directory, it doesn't work quite right either. It is probably > better to use an lndir directory for buildi

[Patch] reworked advanced-portfolio.scm

2006-02-17 Thread Andrew Sackville-West
Okay, the advanced portfolio report was broken in a number of ways. I've masssaged it pretty well I think, but made some assumptions about how it should behave. Essentially, there are three cases we encounter, listed below: 1). a normal, properly formed stock account with pricedb entries etc. I

Re: [Patch] reworked advanced-portfolio.scm

2006-02-17 Thread Andrew Sackville-West
crap bad diffs file there, please disregard and use the attached. A On Fri, 17 Feb 2006 16:33:43 -0800 Andrew Sackville-West <[EMAIL PROTECTED]> wrote: > Okay, the advanced portfolio report was broken in a number of ways. I've > masssaged it pretty well I think, but made some assumptions about

Re: [Patch] reworked advanced-portfolio.scm

2006-02-17 Thread Mark Johnson
Andrew Sackville-West wrote: 3) a stock account with shares in it but with no pricedb entry. In this case, I made the assumption that the file was broken. There should always be a pricedb entry if there are any shares in an account, IMO. Probably the code should be fixed so that any buy or se

Re: [Patch] reworked advanced-portfolio.scm

2006-02-17 Thread Andrew Sackville-West
On Fri, 17 Feb 2006 19:58:24 -0700 Mark Johnson <[EMAIL PROTECTED]> wrote: please reply to the list. > Andrew Sackville-West wrote: > > >3) a stock account with shares in it but with no pricedb entry. In this > >case, I made the assumption that the file was broken. There should always be > >a

Re: [Patch] reworked advanced-portfolio.scm

2006-02-17 Thread Andrew Sackville-West
On Fri, 17 Feb 2006 19:58:24 -0700 Mark Johnson <[EMAIL PROTECTED]> wrote: > Andrew Sackville-West wrote: > > >3) a stock account with shares in it but with no pricedb entry. In this > >case, I made the assumption that the file was broken. There should always be > >a pricedb entry if there are