Riccardo Mottola wrote:
>> I took a quick look at gcc 4.0.1's build scripts (what I'm running). It
>> would appear that gcc blindly replaces limits.h, float.h, iso646.h,
>> stdarg.h, stdbool.h, stddef.h, varargs.h, and unwind.h. Of these,
>> limits.h is the only one that then includes the native header. They
>> aren't modified by fixincludes. fixincludes takes a hack at the other
>> headers that end up in gcc's include directory.
> I failed a bug report to gcc (26768) and it got closed saying that it
> is float.h is fine to be replaced since those constants FP_* are non
> standard, please have a look yourself.
I took a look at some docs, and it seems like the gcc people are
correct in that the standard does not define any constants FP_FOO in
float.h. They say that definitions starting with FP_ are to be in math.h.
In response to
pgsql-ports by date
|Next:||From: Simon Dale||Date: 2006-03-23 16:11:24|
|Subject: Building PostgreSQL 8.1.3 on Windows with MinGW|
|Previous:||From: Riccardo Mottola||Date: 2006-03-21 10:38:05|
|Subject: Re: fails to compile with undefined symbol (FP_PLUS_INF)|