svn trunk compile error & invoice issue
Boyd Kelly
bkelly at coastsystems.net
Sun Nov 25 11:58:13 EST 2007
Hello Derek,
Thanks very much for the info. I wish so much I was a C programmer, but
regrettably... otherwise in whatever way I can help I will.
I have attached a new data file containing a typical 2 level tax table
for GST and PST at 6 and 7 percent. I have also created a sample
invoice with ID 101.
Ideally this Invoice should/would show with the 'Display Individual
Taxes' option:
1 Taxable Stuff 100.00 100.00
Subtotal 100.00
GST 6.00
PST 7.00
Total Payable 113.00
Hope this helps.
Best regards,
Boyd
On Sun, 2007-11-25 at 08:59 -0500, Derek Atkins wrote:
> Hi,
>
> Quoting "Boyd Kelly (Coast Systems)" <bkelly at coastsystems.net>:
>
> > Hi,
> >
> > I am trying to compile the gnucash svn trunk, and get the same error on
> > either my fc8 or gentoo boxes.
> >
> > O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations
> > -Wno-unused -MT gnc-plugin-page.lo -MD -MP -MF .deps/gnc-plugin-page.Tpo
> > -c gnc-plugin-page.c -fPIC -DPIC -o .libs/gnc-plugin-page.o
> > cc1: warnings being treated as errors
> > gnc-plugin-page.c: In function 'gnc_plugin_page_recreate_page':
> > gnc-plugin-page.c:249: warning: format '%ld' expects type 'long int',
> > but argument 6 has type 'GType'
> > make[5]: *** [gnc-plugin-page.lo] Error 1
>
> The problem here is that we're trying to print an error message
> with the GType, but GType isn't an 'int' anymore. I don't know
> what the right solution is long term, but short-term you can just
> cast 'type' to a (long int) in the LEAVE statement.
>
> > Actually I am hoping to be able to print an invoice with two levels of
> > tax detailed before the invoice total. This used to work, but for some
> > time appears to be broken. Bug 449024 is still unconfimred, but maybe
> > it will work in svn???? I don't print a ton of invoices, but since a
> > while, I can no longer use gnucash to invoice, as Canadian law requires
> > both GST and PST taxes to be detailed before the invoice total. So I'm
> > just keeping the books, and creating invoices with gnumeric...
> >
> > Any help *much* appreciated.
>
> I don't know if this bug was ever fixed. It requires a test platform
> with a multiple-entry tax table (which I don't happen to have in my
> test data file, but perhaps I should create one). IIRC the problem
> is somewhat related to the swigification; I dont know if it's been
> corrected.
>
> > Boyd
>
> > Please remember to CC this list on all your replies.
> > You can do this by using Reply-To-List or Reply-All.
>
> -derek
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: taxtable
Type: application/x-gzip
Size: 6472 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-user/attachments/20071125/78cc52a8/attachment.tgz
More information about the gnucash-user
mailing list