[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HUGE_VAL on Solaris
From: |
Simon Josefsson |
Subject: |
Re: HUGE_VAL on Solaris |
Date: |
Mon, 30 Jun 2008 11:18:46 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux) |
Albert Chin <address@hidden> writes:
>> Does any of the suggested work-arounds work for you? I.e., add the
>> following before the line containing "cfg+.h" in src/cfg/shared.c:
>>
>> #define HUGE_VAL (__builtin_huge_val())
>>
>> This work-around appears to work on the solaris 5.10 I have access to.
>>
>> I'm not sure if we can detect this brokenness in a clean way, but
>> patches are welcome. Otherwise, perhaps this message can serve as
>> sufficient documentation to work around this gcc problem.
>
> It's only a problem with --std=gnu99. We just build without that
> (ac_cv_prog_cc_c99=no) and things are ok.
Ok, great, so there are two workarounds for the compiler problem in case
someone else runs into this as well.
/Simon