From owner-freebsd-current@FreeBSD.ORG Wed Jun 4 18:44:43 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A61EA37B401 for ; Wed, 4 Jun 2003 18:44:43 -0700 (PDT) Received: from seed.net.tw (sn13.seed.net.tw [139.175.54.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE26A43F3F for ; Wed, 4 Jun 2003 18:44:42 -0700 (PDT) (envelope-from leafy@chihiro.leafy.idv.tw) Received: from [203.73.163.42] (port=50054 helo=chihiro.leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.14:2) id 19Njo1-000JES-Ho for freebsd-current@freebsd.org; Thu, 05 Jun 2003 09:44:41 +0800 Received: from chihiro.leafy.idv.tw (nobody@localhost [127.0.0.1]) by chihiro.leafy.idv.tw (8.12.9/8.12.9) with ESMTP id h551id7R031138 for ; Thu, 5 Jun 2003 01:44:40 GMT (envelope-from leafy@chihiro.leafy.idv.tw) Received: (from leafy@localhost) by chihiro.leafy.idv.tw (8.12.9/8.12.9/Submit) id h551icHI031137 for freebsd-current@freebsd.org; Thu, 5 Jun 2003 09:44:38 +0800 (CST) (envelope-from leafy) Date: Thu, 5 Jun 2003 09:44:38 +0800 From: leafy To: freebsd-current@freebsd.org Message-ID: <20030605014438.GA31113@chihiro.leafy.idv.tw> Mail-Followup-To: freebsd-current@freebsd.org References: <20030603154040.GA28104@chihiro.leafy.idv.tw> <20030603225547.GA32620@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline In-Reply-To: <20030603225547.GA32620@rot13.obsecurity.org> User-Agent: Mutt/1.5.4i Subject: Re: our compiler can't convert longlong to float? 5.1-RC1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jun 2003 01:44:43 -0000 On Tue, Jun 03, 2003 at 03:55:47PM -0700, Kris Kennaway wrote: > Post the code it's trying to run. It's possible it's buggy. > > Kris #include typedef long long longlong; main() { longlong ll=1; float f; FILE *file=fopen("conftestval", "w"); f = (float) ll; fprintf(file,"%g\n",f); close(file); exit (0); } this section of code is found in "configure" script in mysql323-client port. Jiawei -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming