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 135AF9DC849 for ; Thu, 16 Mar 2006 12:11:50 -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 38954-01 for ; Thu, 16 Mar 2006 12:11:47 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.198]) by postgresql.org (Postfix) with ESMTP id 684E69DC827 for ; Thu, 16 Mar 2006 12:11:47 -0400 (AST) Received: by zproxy.gmail.com with SMTP id 13so397265nzn for ; Thu, 16 Mar 2006 08:11:46 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=O7G2rXhv/JQBpKCm80/hrOs3PmCz3yIiuR0+tO71ELmladYd2L2iASeHN/h1idWC4G1LZrnFGV++n4Zd63NdEwltGvog5lvRnTCTrAT2P6E8grw/ZKyr9D7SVV5xg/2hhgUbJS+5gzpj7FufA2U1HDre68vmwA2txS1iS/5AcwY= Received: by 10.36.251.3 with SMTP id y3mr1114704nzh; Thu, 16 Mar 2006 08:11:45 -0800 (PST) Received: by 10.36.222.1 with HTTP; Thu, 16 Mar 2006 08:11:45 -0800 (PST) Message-ID: <259a55900603160811h6d797ddeud9efb0b91c22a51f@mail.gmail.com> Date: Thu, 16 Mar 2006 17:11:45 +0100 From: "Riccardo Mottola" To: "Seneca Cunningham" Subject: Re: fails to compile with undefined symbol (FP_PLUS_INF) Cc: pgsql-ports@postgresql.org In-Reply-To: <44198CBB.9070608@ca.afilias.info> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <259a55900603160748v2646acd4l2909650eab5a4737@mail.gmail.com> <44198CBB.9070608@ca.afilias.info> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.566 required=5 tests=[AWL=-0.247, INFO_TLD=0.813] X-Spam-Score: 0.566 X-Spam-Level: X-Archive-Number: 200603/17 X-Sequence-Number: 2341 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 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 functio= n) > > 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 >