Quantcast
Channel: Recent posts
Viewing all articles
Browse latest Browse all 415

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?

 


Viewing all articles
Browse latest Browse all 415

Trending Articles



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