JosiahWI commented on code in PR #10050:
URL: https://github.com/apache/trafficserver/pull/10050#discussion_r1265203234
##########
CMakeLists.txt:
##########
@@ -335,6 +335,13 @@ if (OPENSSL_FOUND)
endif(OPENSSL_FOUND)
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.
+add_compile_options(-pipe -Wall -Wextra -Werror -Wno-unused-parameter
-Wno-format-truncation -Wno-cast-function-type -Wno-stringop-overflow)
+add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-Wno-noexcept-type>)
+add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-Wsuggest-override>)
Review Comment:
```cmake
add_compile_options("$<$<COMPILE_LANGUAGE:CXX>:-Wno-except-type;-Wsuggest-override>")
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]