On Tue, May 22, 2012 at 5:18 AM, Wolfgang Breyha <wbreyha@???> wrote: > Building on CentOS 5.8 i386 fails with:
> gcc expand.c
> expand.c: In function ‘eval_op_mult’:
> expand.c:3196: error: ‘LLONG_MIN’ undeclared (first use in this function) <snip>
>
> That's caused by /usr/include/limits.h from glibc-headers including
> # ifdef __USE_ISOC99
> # endif
> arround definition of LLONG_MIN/MAX.
>
> Setting
> CC=gcc -std=gnu99
> like A J Thew, but without quotes, fixed it.
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?
...Todd
--
Always code as if the guy who ends up maintaining your code will be a
violent psychopath who knows where you live. -- Martin Golding