[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
examples/loadables/getconf.c
From: |
Greg Wooledge |
Subject: |
examples/loadables/getconf.c |
Date: |
Fri, 5 Oct 2012 09:47:51 -0400 |
User-agent: |
Mutt/1.4.2.3i |
I've been staring at this for way too long now and I can't figure it out.
imadev:/var/tmp/bash/bash-4.2/examples/loadables$ make
/net/appl/gcc-3.3/bin/gcc -fpic -DHAVE_CONFIG_H -DSHELL -DHPUX -g -O2 -I. -I..
-I../.. -I../../lib -I../../builtins -I../../include -I/var/tmp/bash/bash-4.2
-I/var/tmp/bash/bash-4.2/lib -I/var/tmp/bash/bash-4.2/builtins -I../../lib/intl
-I/var/tmp/bash/bash-4.2/lib/intl -c -o getconf.o getconf.c
getconf.c:1209:8: missing binary operator before token "long"
make: *** [getconf.o] Error 1
Line 1209 says:
# if (ULLONG_MAX != LLONG_MAX)
LLONG_MAX expands to:
((long long int) (~ (long long int) 0 - ((long long int) ((! ((long long int) 0
< (long long int) -1)) ? ~ (long long int) 0 << (sizeof (long long int) * 8 -
1) : (long long int) 0))))
ULLONG_MAX expands to:
((unsigned long long int) (~ (unsigned long long int) 0 - ((unsigned long long
int) ((! ((unsigned long long int) 0 < (unsigned long long int) -1)) ? ~
(unsigned long long int) 0 << (sizeof (unsigned long long int) * 8 - 1) :
(unsigned long long int) 0))))
Everything else in examples/loadables/ builds successfully.
- examples/loadables/getconf.c,
Greg Wooledge <=
- Re: examples/loadables/getconf.c, Andreas Schwab, 2012/10/05
- Re: examples/loadables/getconf.c, Greg Wooledge, 2012/10/05
- Re: examples/loadables/getconf.c, Chet Ramey, 2012/10/05
- Re: examples/loadables/getconf.c, Andreas Schwab, 2012/10/05
- Re: examples/loadables/getconf.c, Eric Blake, 2012/10/05
- Re: examples/loadables/getconf.c, Eric Blake, 2012/10/05
- Re: examples/loadables/getconf.c, Eric Blake, 2012/10/05