- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are right. That should not be a warning for F2008. I filed a bug on your behalf, CMPLRIL0-33502.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are right. That should not be a warning for F2008. I filed a bug on your behalf, CMPLRIL0-33502.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The warning message that you reported has been removed in ifort version 2021.6.0. That was recently released as part of oneAPI HPC Toolkit 2022.2.
Check it out. You can download it here.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page