From: Riccardo Mottola <multix@gmail.com>
To: Seneca Cunningham <scunning@ca.afilias.info>
Cc: pgsql-ports@postgresql.org
Subject: Re: fails to compile with undefined symbol (FP_PLUS_INF)
Date: Thu, 16 Mar 2006 17:11:45 +0100
Message-ID: <259a55900603160811h6d797ddeud9efb0b91c22a51f@mail.gmail.com> (raw)
In-Reply-To: <44198CBB.9070608@ca.afilias.info>
References: <259a55900603160748v2646acd4l2909650eab5a4737@mail.gmail.com>
<44198CBB.9070608@ca.afilias.info>
Hey,
our faithful grep tool says:
bash-2.01$ grep FP_PLUS_INF *
float.h:#define FP_PLUS_INF 4
bash-2.01$ grep FP_MINUS_INF *
float.h:#define FP_MINUS_INF 5
On 3/16/06, Seneca Cunningham <scunning@ca.afilias.info> wrote:
> Riccardo Mottola wrote:
> > gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
> > -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
> > -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include
> > -c isinf.c -o isinf.o
> > isinf.c: In function `isinf':
> > isinf.c:69: error: `FP_PLUS_INF' undeclared (first use in this function)
> > isinf.c:69: error: (Each undeclared identifier is reported only once
> > isinf.c:69: error: for each function it appears in.)
> > isinf.c:71: error: `FP_MINUS_INF' undeclared (first use in this function)
> > make[2]: *** [isinf.o] Error 1
>
> Are FP_PLUS_INF and FP_MINUS_INF defined in float.h or math.h? The
> oldest docs that I found were for AIX 4.3 and what I could gather from
> them is that the code should compile.
>
> --
> Seneca Cunningham
> scunning@ca.afilias.info
>
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: multix@gmail.com, scunning@ca.afilias.info
Subject: Re: fails to compile with undefined symbol (FP_PLUS_INF)
In-Reply-To: <259a55900603160811h6d797ddeud9efb0b91c22a51f@mail.gmail.com>
References: <259a55900603160748v2646acd4l2909650eab5a4737@mail.gmail.com> <44198CBB.9070608@ca.afilias.info> <259a55900603160811h6d797ddeud9efb0b91c22a51f@mail.gmail.com>
* 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