ref: ec25b4ac0e3dc8ada039ad168dc5aebaff4bb253
parent: 83222a8147b7d33670fa3da7dc3b32f5a44cfff1
author: ISSOtm <eldredhabert0@gmail.com>
date: Sat Jun 4 07:14:07 EDT 2022
Disable `-Winline` <@aaaaaa123456789> I mean, `-Winline -Werror` is the "make my builds fail at random for no reason" switch
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -50,7 +50,7 @@
if(MORE_WARNINGS)
add_compile_options(-Werror -Wextra
-Walloc-zero -Wcast-align -Wcast-qual -Wduplicated-branches -Wduplicated-cond
- -Wfloat-equal -Winline -Wlogical-op -Wnested-externs -Wnull-dereference
+ -Wfloat-equal -Wlogical-op -Wnested-externs -Wnull-dereference
-Wold-style-definition -Wshift-overflow=2 -Wstrict-overflow=5
-Wstrict-prototypes -Wstringop-overflow=4 -Wundef -Wuninitialized -Wunused
-Wshadow # TODO: -Wshadow=compatible-local ?
--- a/Makefile
+++ b/Makefile
@@ -214,7 +214,7 @@
develop:
$Qenv ${MAKE} WARNFLAGS="-Werror -Wextra \
-Walloc-zero -Wcast-align -Wcast-qual -Wduplicated-branches -Wduplicated-cond \
- -Wfloat-equal -Winline -Wlogical-op -Wnested-externs -Wold-style-definition \
+ -Wfloat-equal -Wlogical-op -Wnested-externs -Wold-style-definition \
-Wshift-overflow=2 \
-Wstrict-overflow=5 -Wstrict-prototypes -Wundef -Wuninitialized -Wunused \
-Wshadow \