mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-31 17:10:47 +08:00
Removed compiler messages for language elements that are not standard in Fortran 2003, #1344 (#1905)
This commit is contained in:
parent
f4c9931abd
commit
69ddcd02f1
@ -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")
|
||||
|
@ -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)"
|
||||
|
||||
#############################
|
||||
|
Loading…
x
Reference in New Issue
Block a user