make it more or less work with 'warning_level=everything'

This commit is contained in:
2026-07-02 13:19:42 +02:00
parent 1d2095261f
commit 4858feb4c7
11 changed files with 44 additions and 25 deletions

View File

@@ -5,7 +5,7 @@ project(
default_options : [
'prefix=/home/drath/.local',
'c_std=c23',
'warning_level=3', # -> -Wall -Wextra -Wpedantic, also try =everything
'warning_level=everything', # -> -Wall -Wextra -Wpedantic, also try =everything
'werror=true', # -> -Werror
'buildtype=release', # -> -O3, no debug
],
@@ -32,6 +32,12 @@ executable(
c_args : [
'-D_GNU_SOURCE',
'-D_POSIX_C_SOURCE=200809L',
'-Wno-c++-compat',
'-Wno-format-truncation',
'-Wno-conversion',
'-Wno-arith-conversion',
'-Wno-cast-align', # casting char array to gpu_metrics
'-Wno-padded'
],
install : true,
)