build: Add -Wtype-limits to default cflags

This commit is contained in:
Benjamin Berg 2019-08-06 13:13:15 +02:00
parent 5eba6067a3
commit aec1b7caad

View file

@ -23,6 +23,7 @@ common_cflags = cc.get_supported_arguments([
'-fgnu89-inline', '-fgnu89-inline',
'-std=gnu99', '-std=gnu99',
'-Wall', '-Wall',
'-Wtype-limits',
'-Wundef', '-Wundef',
'-Wunused', '-Wunused',
'-Wstrict-prototypes', '-Wstrict-prototypes',