mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
Ports/chester: Enable -Werror
We no longer emit compiler warnings on deprecated/unsafe functions like strcpy, so building more ports with -Werror is possible.
This commit is contained in:
parent
9418d4bf25
commit
ff4787ad2d
Notes:
sideshowbarker
2024-07-17 22:13:54 +09:00
Author: https://github.com/BertalanD Commit: https://github.com/SerenityOS/serenity/commit/ff4787ad2d1 Pull-request: https://github.com/SerenityOS/serenity/pull/11381
1 changed files with 0 additions and 13 deletions
|
@ -1,13 +0,0 @@
|
|||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index a68cf88..c541385 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -22,7 +22,7 @@ endif ()
|
||||
if (MSVC)
|
||||
add_compile_options(/WX /wd4996)
|
||||
else()
|
||||
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror")
|
||||
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
|
||||
endif()
|
||||
|
||||
add_subdirectory(src/lib)
|
Loading…
Reference in a new issue