mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-06 07:37:21 +02:00
Use Meson's warning_level option
Set this to 3, and then remove extra warning flags that are already included by enabling this (#107).
This commit is contained in:
parent
433370e3fa
commit
058efe8cce
@ -1,26 +1,21 @@
|
||||
project(
|
||||
'gamemode',
|
||||
'c',
|
||||
default_options : ['c_std=c11'],
|
||||
default_options : ['c_std=c11', 'warning_level=3'],
|
||||
version: '1.3-dev',
|
||||
license: 'BSD',
|
||||
)
|
||||
|
||||
am_cflags = [
|
||||
'-fstack-protector',
|
||||
'-Wall',
|
||||
'-pedantic',
|
||||
'-Wstrict-prototypes',
|
||||
'-Wundef',
|
||||
'-fno-common',
|
||||
'-Werror-implicit-function-declaration',
|
||||
'-Wformat',
|
||||
'-Wformat-security',
|
||||
'-Werror=format-security',
|
||||
'-Wconversion',
|
||||
'-Wunused-variable',
|
||||
'-Wunreachable-code',
|
||||
'-W',
|
||||
]
|
||||
|
||||
# Add our main flags
|
||||
|
Loading…
x
Reference in New Issue
Block a user