[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bash 2.05a bug on HP-UX 10.20/11.00
From: |
Albert Chin-A-Young |
Subject: |
bash 2.05a bug on HP-UX 10.20/11.00 |
Date: |
Tue, 28 May 2002 16:37:54 -0500 |
User-agent: |
Mutt/1.2.5i |
...
./mkbuiltins -D . printf.def
cc -Ae -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include
-I../lib -I. -DHPUX +O2 -z +ESlit +Onofltacc +DAportable +Oentrysched
+Odataprefetch +Onolimit printf.c || ( rm -f printf.c ; exit 1 )
cc: "printf.def", line 1013: error 1718: Types are not
assignment-compatible.
gmake[1]: *** [printf.o] Error 1
gmake[1]: Leaving directory `/opt/build/bash-2.05a/builtins'
The problem is from the function getldouble() in printf.def:
static long double
getldouble ()
{
...
ret = strtold (garglist->word->word, &ep);
On HP-UX, strtold is defined as:
typedef struct {
uint32_t word1, word2, word3, word4;
} long_double;
extern long_double strtold(const char *, char **);
--
albert chin (china@thewrittenword.com)
- bash 2.05a bug on HP-UX 10.20/11.00,
Albert Chin-A-Young <=