add some more strict compile flags that will become default at some point with clang and gcc
This commit is contained in:
@@ -179,6 +179,9 @@ GP_CONDITIONAL_COMPILE_FLAGS([CFLAGS], [-Werror=unknown-warning-option])
|
||||
GP_CONDITIONAL_COMPILE_FLAGS([CFLAGS], [-Wall])
|
||||
GP_CONDITIONAL_COMPILE_FLAGS([CFLAGS], [-Wextra])
|
||||
GP_CONDITIONAL_COMPILE_FLAGS([CFLAGS], [-Wmost])
|
||||
GP_CONDITIONAL_COMPILE_FLAGS([CFLAGS], [-Werror=incompatible-pointer-types])
|
||||
GP_CONDITIONAL_COMPILE_FLAGS([CFLAGS], [-Werror=implicit])
|
||||
GP_CONDITIONAL_COMPILE_FLAGS([CFLAGS], [-Werror=int-conversion])
|
||||
|
||||
dnl We used to have these two defined for GCC instead of the whole -Wextra
|
||||
dnl GP_CONDITIONAL_COMPILE_FLAGS([CFLAGS], [-Wmissing-declarations])
|
||||
|
||||
Reference in New Issue
Block a user