This is an automated email from the ASF dual-hosted git repository.
bneradt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new ac5a426b54 cmake: remkove -Wno-cast-function-type (#10668)
ac5a426b54 is described below
commit ac5a426b5453bfa9c39892f56abd733bc70114ab
Author: Brian Neradt <[email protected]>
AuthorDate: Tue Oct 24 12:46:31 2023 -0500
cmake: remkove -Wno-cast-function-type (#10668)
clang-12 does not recognize this parameter. I don't think we need to
turn off this warning anymore.
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a5b18e5fbe..fd337ae2c0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -541,7 +541,7 @@ add_subdirectory(lib)
# Keep this after lib because lib is made up of third party libraries, so if
# there are warnings, we can't do anything about it.
# Note: -DCMAKE_COMPILE_WARNING_AS_ERROR=ON will turn warnings into errors.
-add_compile_options(-pipe -Wall -Wextra -Wno-unused-parameter
-Wno-cast-function-type)
+add_compile_options(-pipe -Wall -Wextra -Wno-unused-parameter)
add_compile_options("$<$<COMPILE_LANGUAGE:CXX>:-Wno-noexcept-type;-Wsuggest-override>")
add_compile_options("$<$<CXX_COMPILER_ID:GNU>:-Wno-format-truncation;-Wno-stringop-overflow>")