add warning if a function is not declared
Add a warning if a function is not declared. Functions used only inside a compile unit still can be used, but have to be declared with the static keyword.pull/32/head
parent
8316994dfa
commit
afbeae8410
|
@ -14,6 +14,7 @@ host_system = host_machine.system()
|
||||||
c_args = [
|
c_args = [
|
||||||
'-D_GNU_SOURCE',
|
'-D_GNU_SOURCE',
|
||||||
'-fvisibility=hidden',
|
'-fvisibility=hidden',
|
||||||
|
'-Wmissing-prototypes',
|
||||||
]
|
]
|
||||||
|
|
||||||
if buildtype != 'debug' and buildtype != 'debugoptimized'
|
if buildtype != 'debug' and buildtype != 'debugoptimized'
|
||||||
|
|
Loading…
Reference in New Issue