summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2024-03-13 15:10:38 (GMT)
committerGitHub <noreply@github.com>2024-03-13 15:10:38 (GMT)
commitc1f761bcbd2e5b9f13aaf302d9ee75fe8ba98258 (patch)
tree69b00b14006668457fb932a0d9b2a194f264c0bf
parentcfb1c798b9bbf4dbe875cfc63babfd677d7cddde (diff)
downloadhdf5-c1f761bcbd2e5b9f13aaf302d9ee75fe8ba98258.zip
hdf5-c1f761bcbd2e5b9f13aaf302d9ee75fe8ba98258.tar.gz
hdf5-c1f761bcbd2e5b9f13aaf302d9ee75fe8ba98258.tar.bz2
Remove invalid compile flag (#4129)
-rw-r--r--config/cmake/LIBAEC/CMakeLists.txt2
-rw-r--r--config/cmake/ZLIB/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/cmake/LIBAEC/CMakeLists.txt b/config/cmake/LIBAEC/CMakeLists.txt
index 379902b..11f7941 100644
--- a/config/cmake/LIBAEC/CMakeLists.txt
+++ b/config/cmake/LIBAEC/CMakeLists.txt
@@ -127,7 +127,7 @@ endif ()
# Compiler specific flags : Shouldn't there be compiler tests for these
#-----------------------------------------------------------------------------
if (CMAKE_C_COMPILER_ID MATCHES "IntelLLVM" OR CMAKE_C_COMPILER_ID MATCHES "[Cc]lang")
- set (CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS} -Wno-deprecated-non-prototype")
+ set (CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS}")
endif ()
#-----------------------------------------------------------------------------
diff --git a/config/cmake/ZLIB/CMakeLists.txt b/config/cmake/ZLIB/CMakeLists.txt
index 09f67b0..529f144 100644
--- a/config/cmake/ZLIB/CMakeLists.txt
+++ b/config/cmake/ZLIB/CMakeLists.txt
@@ -132,7 +132,7 @@ if (CMAKE_COMPILER_IS_GNUCC)
set (CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS} -Wno-strict-prototypes")
endif ()
if (CMAKE_C_COMPILER_ID MATCHES "IntelLLVM" OR CMAKE_C_COMPILER_ID MATCHES "[Cc]lang")
- set (CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS} -Wno-deprecated-non-prototype -Wno-implicit-function-declaration")
+ set (CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS} -Wno-implicit-function-declaration")
endif ()
#-----------------------------------------------------------------------------