Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <4.3.1.2.20010507111355.020438d8@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Mon, 07 May 2001 11:14:21 -0400 To: Federico Urban , cygwin AT cygwin DOT com From: "Larry Hall (RFK Partners, Inc)" Subject: Re: Fwd: GCC (2.95.3-4) problems In-Reply-To: <5.1.0.14.0.20010507165339.00a7e650@mail.univ.trieste.it> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 10:54 AM 5/7/2001, Federico Urban wrote: >>Date: Mon, 07 May 2001 11:05:37 +0200 >>To: cygwin AT cygwin DOT com >>From: Federico Urban >>Subject: GCC (2.95.3-4) problems >> >>The following very simple I/O program compiled with gcc 2.95.3-4 version doesn't work (even if it works correctly with 2.95.3-2 versions) >> >>#include >>#include >>main() { >>FILE *f1; >>float s1,s2,s3,s4,s5; >>f1=fopen("inputfile","r"); >>fscanf(f1,"%f %f %f %f %f\n",&s1,&s2,&s3,&s4,&s5); >>printf("%f %f %f %f %f\n",s1,s2,s3,s4,s5); >>fclose(f1); >>} >>~ >>For example: >> >>inputfile: 78.0 -58.56 0.0256 568241.256 457.4146 >>output on screen: 78.000000 5856.000000 256.000000 568241280.000000 4574146.000000 >> >>I'm using win2K pro SP1. Which could be the causes? >> See the mail archives on this subject. Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 118 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple