This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
iso_fortran_env
- From: Vivek Rao <vivekrao4 at yahoo dot com>
- To: fortran at gcc dot gnu dot org
- Date: Tue, 29 Aug 2006 08:52:44 -0700 (PDT)
- Subject: iso_fortran_env
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=P54da8+AqxBk0iU31sTr+/ulwBDW90+ERDkNvnECu9nqtkGSjM+MiOwJlh9n+eRfnnega2/jAsI7O5240XNZlpJrzSyMIaZD5QM1RKJ9Fo9A1B3xZadb6D+JgFktosDhyj7h+93EovNCq1tm3hBcQ+Q3KTSOtEf4yP2T0VS9I7Y= ;
For Lahey/Fujitsu Fortran for Linux, the values of the
constants in the ISO_FORTRAN_ENV module are shown
below. I'd like to write an analogous module that I
can use in gfortran, until the module is implemented
in the compiler. What would the values be, for
gfortran on Windows -- i386-pc-mingw32? Thanks.
module ISO_FORTRAN_ENV
! Nonintrinsic version for Lahey/Fujitsu Fortran for
Linux.
! See Subclause 13.8.2 of the Fortran 2003 standard.
implicit NONE
public
integer, parameter :: Character_Storage_Size = 8
integer, parameter :: Error_Unit = 0
integer, parameter :: File_Storage_Size = 8
integer, parameter :: Input_Unit = 5
integer, parameter :: IOSTAT_END = -1
integer, parameter :: IOSTAT_EOR = -2
integer, parameter :: Numeric_Storage_Size = 32
integer, parameter :: Output_Unit = 6
end module ISO_FORTRAN_ENV