From owner-freebsd-current@FreeBSD.ORG Thu Jun 5 12:41:50 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 13E7637B401 for ; Thu, 5 Jun 2003 12:41:50 -0700 (PDT) Received: from mailout09.sul.t-online.com (mailout09.sul.t-online.com [194.25.134.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E47043FA3 for ; Thu, 5 Jun 2003 12:41:49 -0700 (PDT) (envelope-from Jan.Stocker@t-online.de) Received: from fwd07.aul.t-online.de by mailout09.sul.t-online.com with smtp id 19O0cN-0006is-0C; Thu, 05 Jun 2003 21:41:47 +0200 Received: from [10.1.2.252] (r29SOrZGweX055+19zDMLotXIjQNCHIdzwYZJ+95OH5R2DvH+h8FgC@[217.82.142.7]) by fwd07.sul.t-online.com with esmtp id 19O0cG-1hwVFY0; Thu, 5 Jun 2003 21:41:40 +0200 From: Jan.Stocker@t-online.de (Jan Stocker) To: Kris Kennaway In-Reply-To: <20030605032011.GA40478@rot13.obsecurity.org> References: <20030603154040.GA28104@chihiro.leafy.idv.tw> <20030603225547.GA32620@rot13.obsecurity.org> <20030605014438.GA31113@chihiro.leafy.idv.tw> <20030605032011.GA40478@rot13.obsecurity.org> Content-Type: text/plain Message-Id: <1054842070.684.1.camel@Twoflower.liebende.de> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.3.92 (Preview Release) Date: 05 Jun 2003 19:41:11 +0000 Content-Transfer-Encoding: 7bit X-Seen: false X-ID: r29SOrZGweX055+19zDMLotXIjQNCHIdzwYZJ+95OH5R2DvH+h8FgC@t-dialin.net cc: freebsd-current@freebsd.org 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 19:41:50 -0000 Another thing with this code..... > > #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); I think this has to be "fclose".... > > exit (0); > > } -- Jan Stocker