From owner-freebsd-current@FreeBSD.ORG Wed Jun 4 20:20:12 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 6289637B401 for ; Wed, 4 Jun 2003 20:20:12 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-169-104-32.dsl.lsan03.pacbell.net [64.169.104.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85D6B43F3F for ; Wed, 4 Jun 2003 20:20:11 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 5316666BE5 for ; Wed, 4 Jun 2003 20:20:11 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 39EBFB22; Wed, 4 Jun 2003 20:20:11 -0700 (PDT) Date: Wed, 4 Jun 2003 20:20:11 -0700 From: Kris Kennaway To: freebsd-current@freebsd.org Message-ID: <20030605032011.GA40478@rot13.obsecurity.org> References: <20030603154040.GA28104@chihiro.leafy.idv.tw> <20030603225547.GA32620@rot13.obsecurity.org> <20030605014438.GA31113@chihiro.leafy.idv.tw> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sdtB3X0nJg68CQEu" Content-Disposition: inline In-Reply-To: <20030605014438.GA31113@chihiro.leafy.idv.tw> User-Agent: Mutt/1.4.1i 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 03:20:12 -0000 --sdtB3X0nJg68CQEu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 05, 2003 at 09:44:38AM +0800, leafy wrote: > 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. > >=20 > > Kris > #include > typedef long long longlong; > main() > { > longlong ll=3D1; > float f; > FILE *file=3Dfopen("conftestval", "w"); > f =3D (float) ll; > fprintf(file,"%g\n",f); > close(file); > exit (0); > } >=20 > this section of code is found in "configure" script in mysql323-client po= rt. It compiles and runs here without problems. Kris --sdtB3X0nJg68CQEu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+3rbqWry0BWjoQKURAqNFAJ94/5J82e8nl+FKOOqzProZ4brXJQCfTviF UXMnFLJlv0fxaPg25VLS6DM= =3+Dp -----END PGP SIGNATURE----- --sdtB3X0nJg68CQEu--