summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2022-07-18 16:42:56 (GMT)
committerGitHub <noreply@github.com>2022-07-18 16:42:56 (GMT)
commit69ddcd02f1b0ebba294df59da1b8a93f204433d9 (patch)
tree2d9cbcc44b0346dab2c3b9679307eb390141bc24 /config
parentf4c9931abd9053bfacc88a3fbae5b3fe20385388 (diff)
downloadhdf5-69ddcd02f1b0ebba294df59da1b8a93f204433d9.zip
hdf5-69ddcd02f1b0ebba294df59da1b8a93f204433d9.tar.gz
hdf5-69ddcd02f1b0ebba294df59da1b8a93f204433d9.tar.bz2
Removed compiler messages for language elements that are not standard in Fortran 2003, #1344 (#1905)
Diffstat (limited to 'config')
-rw-r--r--config/cmake/HDFFortranCompilerFlags.cmake2
-rw-r--r--config/intel-fflags2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/cmake/HDFFortranCompilerFlags.cmake b/config/cmake/HDFFortranCompilerFlags.cmake
index 84b3ebe..13e9902 100644
--- a/config/cmake/HDFFortranCompilerFlags.cmake
+++ b/config/cmake/HDFFortranCompilerFlags.cmake
@@ -62,7 +62,7 @@ if (NOT MSVC AND NOT MINGW)
# General flags
if (CMAKE_Fortran_COMPILER_ID STREQUAL "Intel")
ADD_H5_FLAGS (HDF5_CMAKE_Fortran_FLAGS "${HDF5_SOURCE_DIR}/config/intel-warnings/ifort-general")
- list (APPEND HDF5_CMAKE_Fortran_FLAGS "-stand f03" "-free")
+ list (APPEND HDF5_CMAKE_Fortran_FLAGS "-free")
elseif (CMAKE_Fortran_COMPILER_ID STREQUAL "GNU")
ADD_H5_FLAGS (HDF5_CMAKE_Fortran_FLAGS "${HDF5_SOURCE_DIR}/config/gnu-warnings/gfort-general")
list (APPEND HDF5_CMAKE_Fortran_FLAGS "-ffree-form" "-fimplicit-none")
diff --git a/config/intel-fflags b/config/intel-fflags
index 42c1781..5bb6d76 100644
--- a/config/intel-fflags
+++ b/config/intel-fflags
@@ -123,7 +123,7 @@ if test "X-ifort" = "X-$f9x_vendor"; then
# General #
###########
- H5_FCFLAGS="$H5_FCFLAGS -stand:f03 -free"
+ H5_FCFLAGS="$H5_FCFLAGS -free"
H5_FCFLAGS="$H5_FCFLAGS $(load_intel_arguments ifort-general)"
#############################