diff options
| author | Steve Dickson <steved@redhat.com> | 2018-02-20 13:27:43 -0500 |
|---|---|---|
| committer | Steve Dickson <steved@redhat.com> | 2018-02-23 09:17:49 -0500 |
| commit | c1840e80a7000e3860401ff4afd3b48e4515aa6c (patch) | |
| tree | 712dc5b9bf3c9f0355c5e594144acf290ecd0259 | |
| parent | 057bd249cbf6cf2ae8154c1cf7479c6bcc8fbaf4 (diff) | |
| download | nfs-utils-c1840e80a7000e3860401ff4afd3b48e4515aa6c.tar.gz | |
Added more -Werror= warning flags
Add some more -Werror warning flags that
didn't cause warnings but could catch
some in the future.
Signed-off-by: Steve Dickson <steved@redhat.com>
| -rw-r--r-- | configure.ac | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index b849f43..f4eba1f 100644 --- a/configure.ac +++ b/configure.ac @@ -554,6 +554,19 @@ my_am_cflags="\ -Werror=format=2 \ -Werror=undef \ -Werror=missing-include-dirs \ + -Werror=strict-aliasing=2 \ + -Werror=init-self \ + -Werror=implicit-function-declaration \ + -Werror=return-type \ + -Werror=switch \ + -Werror=overflow \ + -Werror=int-conversion \ + -Werror=parentheses \ + -Werror=incompatible-pointer-types \ + -Werror=misleading-indentation \ + -Werror=aggregate-return \ + -Werror=unused-result \ + -fno-strict-aliasing \ " AC_SUBST([AM_CFLAGS], ["$my_am_cflags"]) |
