This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
long_double?
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 28 Nov 2001 13:18:03 -0500 (EST)
- Subject: long_double?
[Get raw message]
In stdlib.h, we have
# ifndef _LONG_DOUBLE
# define _LONG_DOUBLE
typedef struct {
uint32_t word1, word2, word3, word4;
} long_double;
# endif /* _LONG_DOUBLE */
and
extern long_double strtold(const char *, char **);
If a program has
long double res = strtold (strtold (garglist->word->word, &ep);
then the following error occurs:
../../builtins/../../builtins/printf.def:1013: incompatible types in assignment
How is this supposed to work?
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)