Re: [exim-dev] Exim 4.80 RC4 uploaded

Pàgina inicial
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
A: exim-dev
Assumpte: Re: [exim-dev] Exim 4.80 RC4 uploaded
On 2012-05-22 16:50, Wolfgang Breyha wrote:
> Todd Lyons wrote, on 22.05.2012 16:23:
>> Since several of us now on CentOS has had to use this -std=gnu99 to
>> get it to compile, is there some detection we can do or just document
>> it in the README? Is it the version of glibc that's the issue?
>
> The limits.h from RHEL6/CentOS6 glibc is no different. Seems that gcc runs in
> gnu99 mode there.


Here on SL6, limits.h has defined two ways, one of which has the __USE_ISOC99
guard. Adding CFLAGS += -std=gnu99 seems to make no difference to
the compilation (std=c99 kills it horribly, for other reasons).

It sounds like a suggestion for GCC users to add std=gnu99 would be
useful, as a minimum. I'll do that unless someone has a better idea?

-- 
Cheers,
    Jeremy