9.66. COMPILER_VERSION

9.66 COMPILER_VERSION — Compiler version string

Description:
COMPILER_VERSION returns a string with the name and the version of the compiler.
Standard:
Fortran 2008
Class:
Inquiry function of the module ISO_FORTRAN_ENV
Syntax:
STR = COMPILER_VERSION()
Arguments:
None.
Return value:
The return value is a default-kind string with system-dependent length. It contains the name of the compiler and its version number.
Example:
use iso_fortran_env
print '(4a)', 'This file was compiled by ', &
              compiler_version(), ' using the options ', &
              compiler_options()
end
See also:
COMPILER_OPTIONS, ISO_FORTRAN_ENV

© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-6.3.0/gfortran/COMPILER_005fVERSION.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部