meson.build: add "-Werror=return-type"

This commit is contained in:
Barnabás Pőcze 2023-07-03 04:52:44 +02:00
parent edbf2dcb4d
commit 3c6d1686ca

View file

@ -84,6 +84,7 @@ common_flags = [
'-Wno-pedantic', '-Wno-pedantic',
'-Wdeprecated-declarations', '-Wdeprecated-declarations',
'-Wunused-result', '-Wunused-result',
'-Werror=return-type',
] ]
cc_flags = common_flags + [ cc_flags = common_flags + [