On Wednesday 17 August 2005 1:24 pm, Derek Atkins wrote:
> Neil Williams <[EMAIL PROTECTED]> writes:
> > diff -Lsrc/engine/gnc-numeric.c -Lsrc/engine/gnc-numeric.c -u -r1.26.4.7
> > -r1.26.4.8 --- src/engine/gnc-numeric.c
> > +++ src/engine/gnc-numeric.c
> > @@ -33,7 +33,7 @@
> >  #include <string.h>
> >
> >  #include "gnc-numeric.h"
> > -#include "qofmath128.c"
> > +#include "qofmath128.h"
>
> Why did you change this?  This was done this way for a reason,
> to allow the compiler to optimize the 128-bit math functions
> in the gnc-numeric object file.  By #including the .c file you
> let the compiler optimize out the function calls, whereas if you
> don't then it can't.

If it is included, does it have to also go into the distribution and include 
directory?

I wanted to change it so that qofmath128.h is put into qof/include, not the C 
file - (if indeed the h file needs to be there at all.)

-- 

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgpUT6Co7APOO.pgp
Description: PGP signature

_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to