Re: [exim] Exim 4.8 build issue

Top Page
Delete this message
Reply to this message
Author: Phil Pennock
Date:  
To: George R. Kasica
CC: exim-users, gkasica, Jeremy Harris
Subject: Re: [exim] Exim 4.8 build issue
On 2012-06-04 at 07:52 -0500, George R. Kasica wrote:
> Yes, its out there...here is the contents as well:


> # ifdef __USE_ISOC99
>
> /* Minimum and maximum values a `signed long long int' can hold.  */
> #   define LLONG_MAX    9223372036854775807LL
> #   define LLONG_MIN    (-LLONG_MAX - 1LL)

>
> /* Maximum value an `unsigned long long int' can hold. (Minimum is
> 0.) */
> # define ULLONG_MAX 18446744073709551615ULL
>
> # endif /* ISO C99 */


Remove the four lines which you added. Instead add:

#define __USE_ISOC99

That *should* happen automatically in a GNU libc environment when
_GNU_SOURCE is defined. That it's not happening is a symptom of some
issues. You've probably reached the point where it's worth designing
what you want your next OS build to look like and starting from more
current versions of software.

We discarded the idea of defining __USE_ISOC99 in Exim, because it's a
double-underbar constant and not the sort of thing we're supposed to be
touching in an application. _GNU_SOURCE is the documented interface
which we use.

-Phil