mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-12 17:31:09 +08:00
[svn-r23824] Remove unused warnings option
This commit is contained in:
parent
dc2de300b4
commit
cf5071ad05
@ -457,7 +457,7 @@ ENDIF (HDF5_DISABLE_COMPILER_WARNINGS)
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# CDash is configured to only allow 3000 warnings, so
|
||||
# break into groups
|
||||
# break into groups (from the config/gnu-flags file)
|
||||
#-----------------------------------------------------------------------------
|
||||
IF (NOT MSVC)
|
||||
# Append warning flags
|
||||
@ -604,16 +604,6 @@ IF (HDF5_ENABLE_GROUPFOUR_WARNINGS)
|
||||
ENDIF (NOT MSVC)
|
||||
ENDIF (HDF5_ENABLE_GROUPFOUR_WARNINGS)
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Option to allow the user to enable warnings by groups
|
||||
#-----------------------------------------------------------------------------
|
||||
OPTION (HDF5_ENABLE_GROUPFIVE_WARNINGS "Enable group five warnings" OFF)
|
||||
IF (HDF5_ENABLE_GROUPFIVE_WARNINGS)
|
||||
IF (NOT MSVC)
|
||||
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${H5_CFLAGS5}")
|
||||
ENDIF (NOT MSVC)
|
||||
ENDIF (HDF5_ENABLE_GROUPFIVE_WARNINGS)
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# This is in here to help some of the GCC based IDES like Eclipse
|
||||
# and code blocks parse the compiler errors and warnings better.
|
||||
|
Loading…
x
Reference in New Issue
Block a user