mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
Add unused -parameters to developer group.
This commit is contained in:
parent
8ad55c1775
commit
110073450f
@ -77,7 +77,7 @@ if (NOT MSVC AND CMAKE_COMPILER_IS_GNUCC)
|
||||
if (HDF5_ENABLE_DEV_WARNINGS)
|
||||
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Winline -Waggregate-return")
|
||||
else ()
|
||||
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-inline -Wno-aggregate-return")
|
||||
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-parameter -Wno-inline -Wno-aggregate-return")
|
||||
endif ()
|
||||
|
||||
# Append warning flags
|
||||
|
Loading…
Reference in New Issue
Block a user