diff options
-rw-r--r-- | config/cmake/HDFFortranCompilerFlags.cmake | 6 | ||||
-rw-r--r-- | config/gnu-warnings/cxx-general | 20 | ||||
-rw-r--r-- | config/gnu-warnings/gfort-4.5 | 2 | ||||
-rw-r--r-- | config/gnu-warnings/gfort-4.8 | 2 |
4 files changed, 15 insertions, 15 deletions
diff --git a/config/cmake/HDFFortranCompilerFlags.cmake b/config/cmake/HDFFortranCompilerFlags.cmake index 64afb2a..6b14dbd 100644 --- a/config/cmake/HDFFortranCompilerFlags.cmake +++ b/config/cmake/HDFFortranCompilerFlags.cmake @@ -64,12 +64,12 @@ endif () # General flags if (CMAKE_Fortran_COMPILER_ID STREQUAL "Intel") ADD_H5_FLAGS (HDF5_CMAKE_Fortran_FLAGS "${HDF5_SOURCE_DIR}/config/intel-ifort-general") - list (APPEND HDF5_CMAKE_Fortran_FLAGS "-stand f08 -free -implicitnone") + list (APPEND HDF5_CMAKE_Fortran_FLAGS "-stand" "-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 -std=f2008 -fimplicit-none") + list (APPEND HDF5_CMAKE_Fortran_FLAGS "-ffree-form" "-std=f2008" "-fimplicit-none") elseif (CMAKE_Fortran_COMPILER_ID STREQUAL "PGI") - list (APPEND HDF5_CMAKE_Fortran_FLAGS "-Mfreeform -Mdclchk -Mstandard -Mallocatable=03") + list (APPEND HDF5_CMAKE_Fortran_FLAGS "-Mfreeform" "-Mdclchk" "-Mstandard" "-Mallocatable=03") endif () message (STATUS "HDF5_CMAKE_Fortran_FLAGS=${HDF5_CMAKE_Fortran_FLAGS}") diff --git a/config/gnu-warnings/cxx-general b/config/gnu-warnings/cxx-general index 7e0655c..ee7ee22 100644 --- a/config/gnu-warnings/cxx-general +++ b/config/gnu-warnings/cxx-general @@ -7,13 +7,13 @@ # warnings that are emitted. If you need it, add it from the # environment variable at configure time. -Wabi --Wctor-dtor-privacy --Weffc++ -##-Wendif-labels" --Wnon-virtual-dtor --Wold-style-cast --Woverloaded-virtual --Wreorder --Wsign-promo -##-Wunreachable-code" -##-Wvariadic-macros - +-Wctor-dtor-privacy +-Weffc++ +##-Wendif-labels +-Wnon-virtual-dtor +-Wold-style-cast +-Woverloaded-virtual +-Wreorder +-Wsign-promo +##-Wunreachable-code +##-Wvariadic-macros diff --git a/config/gnu-warnings/gfort-4.5 b/config/gnu-warnings/gfort-4.5 index 55ae1d7..4490d4e 100644 --- a/config/gnu-warnings/gfort-4.5 +++ b/config/gnu-warnings/gfort-4.5 @@ -1 +1 @@ --Wimplicit-procedure
\ No newline at end of file +-Wimplicit-procedure diff --git a/config/gnu-warnings/gfort-4.8 b/config/gnu-warnings/gfort-4.8 index 1fddee0..1b96a51 100644 --- a/config/gnu-warnings/gfort-4.8 +++ b/config/gnu-warnings/gfort-4.8 @@ -2,4 +2,4 @@ -Wrealloc-lhs-all # Turn off warnings for passing non-ANSI types to BIND(). # We pass a lot of hid_t, etc. types so this generates a LOT of spurious warnings. --Wno-c-binding-type" +-Wno-c-binding-type |