On Sun, May 30, 2010 at 12:30:48PM +0300, Axel Thimm wrote:
> On Sun, May 30, 2010 at 10:41:12AM +0200, Pascal Volk wrote:
> > On 05/30/2010 09:54 AM Axel Thimm wrote:
> > > LLONG_MIN/LLONG_MAX and some other defines are there, but protected by
> > > 
> > > #  ifdef __USE_ISOC99
> > > 
> > > Maybe dovecot's buildsystem should check for and use -std=c99? But
> > > then I wonder why it does build for RHEL5 and all recent Fedoras? I
> > > grepped the logs and found no explicit -std switch in any of the
> > > successful builds.

Sorry, as stated in a post just moments ago, the broken build is
RHEL5, and RHEL6 works.

> > Which gcc uses RHEL 6?
> > It works for me with gcc-4.3 and gcc-4.4.
> 
> The gcc I used are [...]

OK, the proper matrix looks like:

RHEL4          3.4.6    fails
RHEL5          4.1.2    fails
F11            4.4.1    builds
F12            4.4.3    builds
RHEL6 (beta1)  4.4.3    builds
F13            4.4.4    builds

Now it is more consistent and looks like a change between 4.1.2 and
4.4.1.

Maybe in the older gcc -std=gnu99 didn't set __USE_ISOC99 and thus the
missing constants were not defined?
-- 
Axel.Thimm at ATrpms.net

Attachment: pgpn4I7SFRLCS.pgp
Description: PGP signature

Reply via email to