[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: examples/loadables/getconf.c
From: |
Andreas Schwab |
Subject: |
Re: examples/loadables/getconf.c |
Date: |
Fri, 05 Oct 2012 17:20:23 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) |
Greg Wooledge <wooledg@eeg.ccf.org> writes:
> 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))))
That's not a valid expansion for this macro, it cannot contain casts or
the sizeof operator.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- examples/loadables/getconf.c, Greg Wooledge, 2012/10/05
- Re: examples/loadables/getconf.c,
Andreas Schwab <=
- 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