Quantcast
Channel: Intel® Fortran Compiler for Linux* and macOS*
Viewing all articles
Browse latest Browse all 2583

Compiling example code

$
0
0

Hi,

I'm trying to compile the example code from the "Intel Fortran Compiler 17.0 Developer Guide and Reference" in section "Language reference" --> "Data Transfer I/O Statements" --> "User Defined Derived Type I/O"--> "Examples of User-Defined Derived-Type I/O" --> Example 4. If I compile this code with "ifort -stand f08 -o test test.f90" I get amongst others following error message:

test.f90(13): error #5082: Syntax error, found IDENTIFIER 'UNFORMATTED' when expecting one of: * .NOT. . + - /) ** / // .LT. < .LE. <= .EQ. == .NE. /= .GT. > ...
        GENERIC :: WRITE (UNFORMATTED) => MY_UNFMT_WRITE

I tried to use different standards like 03 and 95 and looked for compiler options that could resolve this but no success.. Any help how to compile?

 

Zone: 


Viewing all articles
Browse latest Browse all 2583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>