pg.ddx.io  pgsql-ports@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Seneca Cunningham <scunning@ca.afilias.info>
To: Riccardo Mottola <multix@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-ports@postgresql.org
Subject: Re: fails to compile with undefined symbol (FP_PLUS_INF)
Date: Tue, 21 Mar 2006 11:09:16 -0500
Message-ID: <4420252C.5010202@ca.afilias.info> (raw)
In-Reply-To: <259a55900603210238n47c60b1bl1450c10cec3944a0@mail.gmail.com>
References: <259a55900603160748v2646acd4l2909650eab5a4737@mail.gmail.com>
	<44198CBB.9070608@ca.afilias.info>
	<259a55900603160811h6d797ddeud9efb0b91c22a51f@mail.gmail.com>
	<4419912A.1070903@ca.afilias.info>
	<259a55900603160838p4a529a4l590a9baa444a5575@mail.gmail.com>
	<18237.1142531886@sss.pgh.pa.us>
	<4419AD22.4020108@ca.afilias.info>
	<259a55900603161040n4c90781fg5722ce14536c3804@mail.gmail.com>
	<4419C210.4030609@ca.afilias.info>
	<259a55900603210238n47c60b1bl1450c10cec3944a0@mail.gmail.com>

Riccardo Mottola wrote:
> Hey,
> 
>> 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[1], 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.

[1] http://www.opengroup.org/onlinepubs/000095399/basedefs/math.h.html

-- 
Seneca Cunningham
scunning@ca.afilias.info



view thread (14+ messages)

Message-ID: <4420252C.5010202@ca.afilias.info>
Permalink:  ../4420252C.5010202@ca.afilias.info/
Also on:    postgresql.org/message-id/4420252C.5010202@ca.afilias.info

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-ports@postgresql.org
  Cc: scunning@ca.afilias.info, multix@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: fails to compile with undefined symbol (FP_PLUS_INF)
  In-Reply-To: <4420252C.5010202@ca.afilias.info>
  References: <259a55900603160748v2646acd4l2909650eab5a4737@mail.gmail.com> <44198CBB.9070608@ca.afilias.info> <259a55900603160811h6d797ddeud9efb0b91c22a51f@mail.gmail.com> <4419912A.1070903@ca.afilias.info> <259a55900603160838p4a529a4l590a9baa444a5575@mail.gmail.com> <18237.1142531886@sss.pgh.pa.us> <4419AD22.4020108@ca.afilias.info> <259a55900603161040n4c90781fg5722ce14536c3804@mail.gmail.com> <4419C210.4030609@ca.afilias.info> <259a55900603210238n47c60b1bl1450c10cec3944a0@mail.gmail.com> <4420252C.5010202@ca.afilias.info>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox