[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
textutils-2.1 configure error
From: |
TenThumbs |
Subject: |
textutils-2.1 configure error |
Date: |
Mon, 5 Aug 2002 08:35:48 -0400 (EDT) |
On my Linux system I said ./configure and it said
checking for working long double with more range or precision \
than double... no
which is wrong. Looking at configure I find the test
#include "confdefs.h"
#include <float.h>
long double foo = 0.0;
int
main ()
{
static int test_array [1 - 2 * !(/* Using '|' rather than '||' catches a
GCC 2.95.2 x86 bug. */
(DBL_MAX < LDBL_MAX) | (LDBL_EPSILON < DBL_EPSILON)
| (DBL_MAX_EXP < LDBL_MAX_EXP) | (DBL_MANT_DIG <
LDBL_MANT_DIG))];
test_array [0] = 0
;
return 0;
}
It turns out that for gcc 2.95 or lower the compiler returns the error:
storage size of `test_array' isn't constant
so this test is actually a test for gcc 3 and above despite what the
comment implies and what its description says.
Obviously a bug in the autoconf you used.
Thanks.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- textutils-2.1 configure error,
TenThumbs <=