Remove flag from gfort-general in gfort-5, add /EHsc to Win C++

This commit is contained in:
Allen Byrne 2020-04-06 16:12:43 -05:00
parent 279ea4f2a2
commit e31bb02d38
2 changed files with 2 additions and 1 deletions

View File

@ -155,6 +155,8 @@ if (NOT MSVC)
# ADD_H5_FLAGS (H5_CXXFLAGS1 "${HDF5_SOURCE_DIR}/config/gnu-warnings/no-developer-4.5")
# endif ()
#endif ()
else ()
list (APPEND HDF5_CMAKE_CXX_FLAGS "/EHsc")
endif ()
#-----------------------------------------------------------------------------

View File

@ -9,5 +9,4 @@
-Wimplicit-interface
-Wsurprising
-Wunderflow
-Wuse-without-only
-pedantic