Re: Mac OS X -module (was Re: Confusion about use of G2)

2005-10-04 Thread David Hampton
On Wed, 2005-10-05 at 13:20 +0900, Peter O'Gorman wrote: > | I was thinking more along the lines of an "#ifndef DARWIN" around the > | goffice definition of fmin(). Is there some #define that's only set > | during the mac build? > > #if defined(__APPLE__) && defined(__MACH__) > > but I dislike i

Re: Mac OS X -module (was Re: Confusion about use of G2)

2005-10-04 Thread Peter O'Gorman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Hampton wrote: | On Wed, 2005-10-05 at 10:03 +0900, Peter O'Gorman wrote: | |>It is exactly the same, double fmin( double, double ); but I didn't feel |>like makeing a configure time check | | | I was thinking more along the lines of an "#if

Re: Mac OS X -module (was Re: Confusion about use of G2)

2005-10-04 Thread David Hampton
On Wed, 2005-10-05 at 10:03 +0900, Peter O'Gorman wrote: > It is exactly the same, double fmin( double, double ); but I didn't feel > like makeing a configure time check I was thinking more along the lines of an "#ifndef DARWIN" around the goffice definition of fmin(). Is there some #define t

Re: Mac OS X -module (was Re: Confusion about use of G2)

2005-10-04 Thread Peter O'Gorman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Hampton wrote: | On Wed, 2005-10-05 at 01:21 +0900, Peter O'Gorman wrote: | | |>~ static double |>- -fmin (double a, double b) |>+gog_fmin (double a, double b) | What's the definition for the system fmin() function? It is exactly the same, dou

Re: Register rewrite [Was: Confusion about use of G2]

2005-10-04 Thread Chris Shoemaker
On Tue, Oct 04, 2005 at 09:12:21AM +0200, Didier Vidal wrote: > [...] > > Since then, I've also made substantial progress on a > > register-rewrite using the GtkTreeModel API. It's been easier than I > > thought. (Although I've made no progress in the past 2 months - no > > time.) > > > C

Re: Mac OS X -module (was Re: Confusion about use of G2)

2005-10-04 Thread David Hampton
On Wed, 2005-10-05 at 01:21 +0900, Peter O'Gorman wrote: > ~ static double > - -fmin (double a, double b) > +gog_fmin (double a, double b) > > I built using gcc-4.0 and --disable-error-on-warning and this was the only > place I saw an actual error. I've got a system fmin and gcc-4.0 complains > a

Re: Mac OS X -module (was Re: Confusion about use of G2)

2005-10-04 Thread Peter O'Gorman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter O'Gorman wrote: | If you look at configure.in, you'll see a god awful hack to change the | value | of archive_cmds on darwin after libtool is generated. I put the hack in | there in preference to changing lots and lots of Makefile.am's. If you w

Register rewrite [Was: Confusion about use of G2]

2005-10-04 Thread Didier Vidal
[...] > Since then, I've also made substantial progress on a > register-rewrite using the GtkTreeModel API. It's been easier than I > thought. (Although I've made no progress in the past 2 months - no > time.) > Chris, I'd be curious to see how this register implementation works. There a