summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-01-13 19:55:24 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-01-13 19:55:24 (GMT)
commit110073450f84fb373a6f28579cdc5751c3eca3b0 (patch)
tree1b82e8b527b8de093f8f29e42332296c8ee4c8f7 /config
parent8ad55c177534183b445901236f5cacef7e37b126 (diff)
downloadhdf5-110073450f84fb373a6f28579cdc5751c3eca3b0.zip
hdf5-110073450f84fb373a6f28579cdc5751c3eca3b0.tar.gz
hdf5-110073450f84fb373a6f28579cdc5751c3eca3b0.tar.bz2
Add unused -parameters to developer group.
Diffstat (limited to 'config')
-rw-r--r--config/cmake/HDFCompilerFlags.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/cmake/HDFCompilerFlags.cmake b/config/cmake/HDFCompilerFlags.cmake
index 025bbda..238e363 100644
--- a/config/cmake/HDFCompilerFlags.cmake
+++ b/config/cmake/HDFCompilerFlags.cmake
@@ -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