make it more or less work with 'warning_level=everything'
This commit is contained in:
@@ -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,
|
||||
)
|
||||
Reference in New Issue
Block a user