delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/04/18/13:00:51

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 37008385B835
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=cs.umass.edu
Authentication-Results: sourceware.org;
spf=pass smtp.mailfrom=moss AT cs DOT umass DOT edu
Subject: Re: gfortran 9.3 write format error
To: cygwin AT cygwin DOT com
References: <d04d793a-6c8b-7a11-5a9b-5cda1bb86e50 DOT ref AT bellsouth DOT net>
<d04d793a-6c8b-7a11-5a9b-5cda1bb86e50 AT bellsouth DOT net>
<e7cdd735-aa29-b255-e643-eb35e5f6693d AT SystematicSw DOT ab DOT ca>
<af654c15-29f0-144c-9d5b-d49e41713c0b AT bellsouth DOT net>
<e298bdcb-eaf8-a32d-117e-4e1e6d877f2f AT SystematicSw DOT ab DOT ca>
<f868b6d5-2aee-c314-8a90-ba86a6aeeca6 AT bellsouth DOT net>
<be58fb92-26f1-a7af-05fe-443fa8c61618 AT SystematicSw DOT ab DOT ca>
From: Eliot Moss <moss AT cs DOT umass DOT edu>
Message-ID: <5f8e7366-dc52-ab99-c2fb-6cbbc19ee73f@cs.umass.edu>
Date: Sat, 18 Apr 2020 13:00:06 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101
Thunderbird/68.7.0
MIME-Version: 1.0
In-Reply-To: <be58fb92-26f1-a7af-05fe-443fa8c61618@SystematicSw.ab.ca>
X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: moss AT cs DOT umass DOT edu
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

 > As I did not recognize 1p[23]e... as a repeated format, it is possible that
 > gfortran now requires you to specify that in a more standards compliant manner,
 > except perhaps if you compile with -std=legacy (and the runtime supports that in
 > formatted I/O format strings), otherwise you may want to try restating your
 > formats in a more standard manner e.g.
 >
 > 	'(i6,3(1pe9.2),x,e9.2,x,0pf6.3,x,2(1pe10.2),''@'')'
 >
 > which may or may not solve your problem.

Or maybe write 1p,3e9.2 since the scale factor thing is actually a separate
format element (I believe, from cruising what general Fortran docs I found
around the Internet).

Best - Eliot
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019