meson.build: require strict prototypes

This commit is contained in:
Barnabás Pőcze 2023-07-03 04:51:47 +02:00
parent 12a8a916dd
commit edbf2dcb4d

View file

@ -94,6 +94,8 @@ cc_flags = common_flags + [
'-Werror=int-conversion',
'-Werror=old-style-declaration',
'-Werror=old-style-definition',
'-Werror=missing-parameter-type',
'-Werror=strict-prototypes',
]
add_project_arguments(cc.get_supported_arguments(cc_flags), language: 'c')