From cfb9193039e2fb54e13e84bd3378b649c0f9afba Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Sun, 21 Mar 2021 14:55:00 -0500 Subject: build: Add more common-sense error cflags --- meson.build | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 8ab7c6df..31430cd1 100644 --- a/meson.build +++ b/meson.build @@ -63,6 +63,8 @@ else '-Werror=implicit-function-declaration', '-Werror=aggregate-return', '-Werror=format=2', + '-Werror=return-type', + '-Werror=incompatible-pointer-types', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Wno-missing-include-dirs', -- cgit v1.2.1