From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] ape include files From: "rob pike" MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-uiubjldtinbuzabctfttspdnoi" Message-Id: <20010913131347.AEC56199FA@mail.cse.psu.edu> Date: Thu, 13 Sep 2001 09:13:45 -0400 Topicbox-Message-UUID: ed0c1d26-eac9-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-uiubjldtinbuzabctfttspdnoi Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Delete the FLT_* definitions from limits.h. They don't belong there. -rob --upas-uiubjldtinbuzabctfttspdnoi Content-Type: message/rfc822 Content-Disposition: inline Received: from plan9.cs.bell-labs.com ([135.104.9.2]) by plan9; Thu Sep 13 09:02:28 EDT 2001 Received: from mail.cse.psu.edu ([130.203.4.6]) by plan9; Thu Sep 13 09:02:27 EDT 2001 Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.8.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 33998199FF; Thu, 13 Sep 2001 09:02:10 -0400 (EDT) Delivered-To: 9fans@cse.psu.edu Received: from cejchan.gli.cas.cz (cejchan.gli.cas.cz [147.231.139.4]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id CB2A0199F1 for <9fans@cse.psu.edu>; Thu, 13 Sep 2001 09:01:45 -0400 (EDT) Received: from cej by cejchan.gli.cas.cz with local (Exim 3.22 #1 (Debian)) id 15hWI1-00004p-00; Thu, 13 Sep 2001 15:12:21 +0200 To: 9fans@cse.psu.edu Cc: cej@cejchan.gli.cas.cz Message-Id: X-Mailer: TkMail 4.0beta9 From: pac Subject: [9fans] ape include files Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Thu, 13 Sep 2001 15:12:22 +0200 Hi all, while compiling under APE, I met the following conflict several times, when both #include #include were present. cpp: /386/include/ape/float.h:11 Macro redefinition of FLT_MAX cpp: /386/include/ape/float.h:14 Macro redefinition of FLT_MIN cpp: /386/include/ape/float.h:21 Macro redefinition of DBL_MAX cpp: /386/include/ape/float.h:24 Macro redefinition of DBL_MIN Obviously, I found e.g.: /root/sys/include/ape/sys/limits.h:#define FLT_MAX 3.40282347E+38 /root/386/include/ape/float.h:#define FLT_MAX 3.40282347e+38 etc.... Is this an intention, or a bug? If intention, I would be glad for a workaround. Best regards, Peter. -- Peter A Cejchan biologist Acad. Sci., Prague, CZ --upas-uiubjldtinbuzabctfttspdnoi--