X-Original-To: pgsql-ports-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 9BC8A9DCA30 for ; Tue, 21 Mar 2006 12:08:10 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 05678-03 for ; Tue, 21 Mar 2006 12:08:08 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.libertyrms.com (vgateway.libertyrms.info [207.219.45.62]) by postgresql.org (Postfix) with ESMTP id 368DC9DCA01 for ; Tue, 21 Mar 2006 12:08:07 -0400 (AST) Received: from dev5.int.libertyrms.com ([10.1.3.42]) by mail.libertyrms.com with esmtp (Exim 4.22) id 1FLjOw-00085D-Dd; Tue, 21 Mar 2006 11:08:06 -0500 Message-ID: <4420252C.5010202@ca.afilias.info> Date: Tue, 21 Mar 2006 11:09:16 -0500 From: Seneca Cunningham User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: Riccardo Mottola CC: Tom Lane , pgsql-ports@postgresql.org Subject: Re: fails to compile with undefined symbol (FP_PLUS_INF) 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> In-Reply-To: <259a55900603210238n47c60b1bl1450c10cec3944a0@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Mail-From: scunning@ca.afilias.info X-SA-Exim-Scanned: No; SAEximRunCond expanded to false X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.962 required=5 tests=[AWL=0.149, INFO_TLD=0.813] X-Spam-Score: 0.962 X-Spam-Level: X-Archive-Number: 200603/34 X-Sequence-Number: 2358 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