A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/j3-fortran/fortran_proposals/issues/105 below:

Allow COMPILER_VERSION, COMPILER_OPTIONS in constant expressions · Issue #105 · j3-fortran/fortran_proposals · GitHub

Fortran 2008 added COMPILER_VERSION and COMPILER_OPTIONS functions to intrinsic module ISO_FORTRAN_ENV, These are nice, but they can't be used in constant expressions, despite their being compile-time constant.

10.1.2 has a carve-out for transformational intrinsics from IEEE_ARITHMETIC and IEEE_EXCEPTIONS when all arguments are constant expressions. I would like to see this extended to ISO_FORTRAN_ENV

In addition, many users have asked for a way to save the compile date/time in the code. One can sometimes do this with a preprocessor, but a COMPILE_DATE_TIME or such function in ISO_FORTRAN_ENV would round out the existing support.

FortranFan and jacobwilliams


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4