build: Add -Wpointer-arith flag
Even though we are using with GNU extensions I will add this flag since I prefer the explicit writing style that we have to use wich this flag enabled.
This commit is contained in:
@@ -67,7 +67,8 @@ if is_debug
|
||||
'-Wextra',
|
||||
'-fstack-protector-strong',
|
||||
'-D_FORTIFY_SOURCE=2',
|
||||
'-Og'
|
||||
'-Og',
|
||||
'-Wpointer-arith'
|
||||
], language: 'c')
|
||||
if cc.get_id() == 'gcc'
|
||||
add_project_arguments('-fanalyzer', language: 'c')
|
||||
|
||||
Reference in New Issue
Block a user