mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:57:35 +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
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…
Add table
Add a link
Reference in a new issue