Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
26742 Discussions

Erroneous Warning for compiler_options

GaetanNASA
Beginner
210 Views

The following program, 

program main
use ISO_FORTRAN_ENV

character (len = :), allocatable :: res

res = compiler_options ()

print *, res

deallocate (res)
end program main

when compiled with 

gkenway@pfe26:~> ifort -stand=f08 t.F90

gives

t.F90(6): warning #7416: Fortran 2008 does not allow this intrinsic procedure. [COMPILER_OPTIONS]
res = compiler_options ()

The ifort version i'm using is. 

gkenway@pfe26:~> ifort --version
ifort (IFORT) 19.1.3.304 20200925
Copyright (C) 1985-2020 Intel Corporation. All rights reserved.

The older versions didn't do this.

Thanks

Gaetan

 

 

0 Kudos
1 Solution
Barbara_P_Intel
Moderator
174 Views

You are right. That should not be a warning for F2008.  I filed a bug on your behalf, CMPLRIL0-33502. 

 

View solution in original post

1 Reply
Barbara_P_Intel
Moderator
175 Views

You are right. That should not be a warning for F2008.  I filed a bug on your behalf, CMPLRIL0-33502. 

 

View solution in original post

Reply