bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compile problem on HP-UX 10.20 with test-stdint.c


From: Albert Chin
Subject: Re: Compile problem on HP-UX 10.20 with test-stdint.c
Date: Sun, 22 Jun 2008 13:50:20 -0500
User-agent: Mutt/1.5.18 (2008-05-17)

On Fri, Jun 20, 2008 at 06:53:53PM -0600, Eric Blake wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> According to Bruno Haible on 6/20/2008 5:58 PM:
> |> The problem is the following:
> |>   #if INTMAX_MIN && INTMAX_MAX && UINTMAX_MAX
> |
> | Well, it seems this compiler does not grok long long numbers in preprocessor
> | expressions. But this is an ISO C 99 requirement, and test-stdint checks
> for it.
>
> I thought we already decided that requiring long long support in the
> preprocessor is a losing battle, at least for a couple more years.  Maybe
> the solution here is to weaken the gnulib test for now (ie. comment out
> the preprocessor checks for now, and instead test only the weaker
> condition that INTMAX_MAX and friends can be used as identifiers in an
> expression that evaluates to a long long).

Sounds ok to me. The HP 10.20 preprocessor will never support long long.
So, we either abandon support for it or remove the tests. The HP C
compiler is fine with long longs, just not the preprocessor.

-- 
albert chin (address@hidden)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]