Skip to content

Commit

Permalink
add some more strict compile flags that will become default at some p…
Browse files Browse the repository at this point in the history
…oint with clang and gcc
  • Loading branch information
msmeissn committed Dec 23, 2023
1 parent 259a83a commit 04aea15
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit 04aea15

Please sign in to comment.