Re: [Dovecot] dovecot-2.0.alpha2 doesn't compile on Mac OS X

2009-11-12 Thread Axel Luttgens
Le 10 nov. 2009 à 23:44, Timo Sirainen a écrit : > On Tue, 2009-11-10 at 22:56 +0100, Axel Luttgens wrote: >>> Although fdatasync() seems to have gone missing from .h files, but still >>> exists in libc. I guess that's intentional? >> >> Hello Timo, >> >> Did Mike reply about that one? > > No.

Re: [Dovecot] dovecot-2.0.alpha2 doesn't compile on Mac OS X

2009-11-10 Thread Timo Sirainen
On Tue, 2009-11-10 at 22:56 +0100, Axel Luttgens wrote: > > Although fdatasync() seems to have gone missing from .h files, but still > > exists in libc. I guess that's intentional? > > Hello Timo, > > Did Mike reply about that one? No. I'm also not sure what to do about it. I guess I could just

Re: [Dovecot] dovecot-2.0.alpha2 doesn't compile on Mac OS X

2009-11-10 Thread Axel Luttgens
Le 27 oct. 2009 à 20:21, Timo Sirainen a écrit : > On Tue, 2009-10-27 at 13:13 -0500, Mike Abbott wrote: >> >> [...] > > [...] > > Although fdatasync() seems to have gone missing from .h files, but still > exists in libc. I guess that's intentional? Hello Timo, Did Mike reply about that one?

Re: [Dovecot] dovecot-2.0.alpha2 doesn't compile on Mac OS X

2009-10-27 Thread Timo Sirainen
On Tue, 2009-10-27 at 13:13 -0500, Mike Abbott wrote: > > Thanks, fixed. But why is your compiler taking that code path? > > > > #if (defined(__STDC__) && __STDC_VERSION__ >= 199901L) > > For whatever reason, __STDC_VERSION__ isn't defined. __STDC__ is > though. Sounds like gcc isn't being run

Re: [Dovecot] dovecot-2.0.alpha2 doesn't compile on Mac OS X

2009-10-27 Thread Mike Abbott
Thanks, fixed. But why is your compiler taking that code path? #if (defined(__STDC__) && __STDC_VERSION__ >= 199901L) For whatever reason, __STDC_VERSION__ isn't defined. __STDC__ is though. Second, Mac OS X can't link loadable modules against other loadable modules (http://www.finkproje

Re: [Dovecot] dovecot-2.0.alpha2 doesn't compile on Mac OS X

2009-10-27 Thread Timo Sirainen
On Oct 27, 2009, at 12:06 PM, Mike Abbott wrote: Howdy, dovecot-2.0.alpha2 doesn't compile on Mac OS X. First, trivially, there's a typo in array.h: --- a/src/lib/array.h 2009-10-08 10:04:35.0 -0500 +++ b/src/lib/array.h 2009-10-27 10:35:58.0 -0500 @@ -72,7 +72,7 @@

[Dovecot] dovecot-2.0.alpha2 doesn't compile on Mac OS X

2009-10-27 Thread Mike Abbott
Howdy, dovecot-2.0.alpha2 doesn't compile on Mac OS X. First, trivially, there's a typo in array.h: --- a/src/lib/array.h 2009-10-08 10:04:35.0 -0500 +++ b/src/lib/array.h 2009-10-27 10:35:58.0 -0500 @@ -72,7 +72,7 @@ (elem)++) # define array_foreach_modifiable(