diff --git a/cmd/zdb/Makefile.in b/cmd/zdb/Makefile.in index 38a75105d4..fe6ff8e1e5 100644 --- a/cmd/zdb/Makefile.in +++ b/cmd/zdb/Makefile.in @@ -225,11 +225,10 @@ DEFAULT_INCLUDES = -I${top_srcdir} -I${top_srcdir}/lib/libspl/include \ # FIXME: Add -Wshadow once everything is working # Expected defines not covered by zfs_config.h or spl_config.h -AM_CFLAGS = -Wall -Wstrict-prototypes -Werror -Wno-switch \ - -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE \ - -D__EXTENSIONS__ -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS \ - -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE \ - -DTEXT_DOMAIN=\"zfs-linux-user\" +AM_CFLAGS = -Wall -Wstrict-prototypes -fno-strict-aliasing -Werror \ + -D_GNU_SOURCE -D__EXTENSIONS__ -D_REENTRANT \ + -D_POSIX_PTHREAD_SEMANTICS -D_FILE_OFFSET_BITS=64 \ + -D_LARGEFILE64_SOURCE -DTEXT_DOMAIN=\"zfs-linux-user\" zdb_SOURCES = \ ${top_srcdir}/cmd/zdb/zdb.c \ ${top_srcdir}/cmd/zdb/zdb_il.c diff --git a/cmd/zfs/Makefile.in b/cmd/zfs/Makefile.in index 96f3049b5e..8808f1f0b3 100644 --- a/cmd/zfs/Makefile.in +++ b/cmd/zfs/Makefile.in @@ -224,11 +224,10 @@ DEFAULT_INCLUDES = -I${top_srcdir} -I${top_srcdir}/lib/libspl/include \ # FIXME: Add -Wshadow once everything is working # Expected defines not covered by zfs_config.h or spl_config.h -AM_CFLAGS = -Wall -Wstrict-prototypes -Werror -Wno-switch \ - -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE \ - -D__EXTENSIONS__ -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS \ - -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE \ - -DTEXT_DOMAIN=\"zfs-linux-user\" +AM_CFLAGS = -Wall -Wstrict-prototypes -fno-strict-aliasing -Werror \ + -D_GNU_SOURCE -D__EXTENSIONS__ -D_REENTRANT \ + -D_POSIX_PTHREAD_SEMANTICS -D_FILE_OFFSET_BITS=64 \ + -D_LARGEFILE64_SOURCE -DTEXT_DOMAIN=\"zfs-linux-user\" zfs_SOURCES = \ ${top_srcdir}/cmd/zfs/zfs_iter.c \ ${top_srcdir}/cmd/zfs/zfs_iter.h \ diff --git a/cmd/zinject/Makefile.in b/cmd/zinject/Makefile.in index 6cf3a1954d..8b566a8028 100644 --- a/cmd/zinject/Makefile.in +++ b/cmd/zinject/Makefile.in @@ -226,11 +226,10 @@ DEFAULT_INCLUDES = -I${top_srcdir} -I${top_srcdir}/lib/libspl/include \ # FIXME: Add -Wshadow once everything is working # Expected defines not covered by zfs_config.h or spl_config.h -AM_CFLAGS = -Wall -Wstrict-prototypes -Werror -Wno-switch \ - -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE \ - -D__EXTENSIONS__ -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS \ - -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE \ - -DTEXT_DOMAIN=\"zfs-linux-user\" +AM_CFLAGS = -Wall -Wstrict-prototypes -fno-strict-aliasing -Werror \ + -D_GNU_SOURCE -D__EXTENSIONS__ -D_REENTRANT \ + -D_POSIX_PTHREAD_SEMANTICS -D_FILE_OFFSET_BITS=64 \ + -D_LARGEFILE64_SOURCE -DTEXT_DOMAIN=\"zfs-linux-user\" zinject_SOURCES = \ ${top_srcdir}/cmd/zinject/translate.c \ ${top_srcdir}/cmd/zinject/zinject.c \ diff --git a/cmd/zpios/Makefile.in b/cmd/zpios/Makefile.in index c85b051be1..7290762690 100644 --- a/cmd/zpios/Makefile.in +++ b/cmd/zpios/Makefile.in @@ -212,11 +212,10 @@ DEFAULT_INCLUDES = -I${top_srcdir} \ # FIXME: Add -Wshadow once everything is working # Expected defines not covered by zfs_config.h or spl_config.h -AM_CFLAGS = -Wall -Wstrict-prototypes -Werror -Wno-switch \ - -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE \ - -D__EXTENSIONS__ -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS \ - -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE \ - -DTEXT_DOMAIN=\"zfs-linux-user\" +AM_CFLAGS = -Wall -Wstrict-prototypes -fno-strict-aliasing -Werror \ + -D_GNU_SOURCE -D__EXTENSIONS__ -D_REENTRANT \ + -D_POSIX_PTHREAD_SEMANTICS -D_FILE_OFFSET_BITS=64 \ + -D_LARGEFILE64_SOURCE -DTEXT_DOMAIN=\"zfs-linux-user\" zpios_SOURCES = \ $(top_srcdir)/cmd/zpios/zpios_main.c \ $(top_srcdir)/cmd/zpios/zpios_util.c \ diff --git a/cmd/zpool/Makefile.in b/cmd/zpool/Makefile.in index 467f578d94..20824a946d 100644 --- a/cmd/zpool/Makefile.in +++ b/cmd/zpool/Makefile.in @@ -225,11 +225,10 @@ DEFAULT_INCLUDES = -I${top_srcdir} -I${top_srcdir}/lib/libspl/include \ # FIXME: Add -Wshadow once everything is working # Expected defines not covered by zfs_config.h or spl_config.h -AM_CFLAGS = -Wall -Wstrict-prototypes -Werror -Wno-switch \ - -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE \ - -D__EXTENSIONS__ -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS \ - -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE \ - -DTEXT_DOMAIN=\"zfs-linux-user\" +AM_CFLAGS = -Wall -Wstrict-prototypes -fno-strict-aliasing -Werror \ + -D_GNU_SOURCE -D__EXTENSIONS__ -D_REENTRANT \ + -D_POSIX_PTHREAD_SEMANTICS -D_FILE_OFFSET_BITS=64 \ + -D_LARGEFILE64_SOURCE -DTEXT_DOMAIN=\"zfs-linux-user\" zpool_SOURCES = \ ${top_srcdir}/cmd/zpool/zpool_iter.c \ ${top_srcdir}/cmd/zpool/zpool_main.c \ diff --git a/cmd/ztest/Makefile.in b/cmd/ztest/Makefile.in index b29a87c4d8..713878690d 100644 --- a/cmd/ztest/Makefile.in +++ b/cmd/ztest/Makefile.in @@ -226,11 +226,10 @@ DEFAULT_INCLUDES = -I${top_srcdir} -I${top_srcdir}/lib/libspl/include \ # FIXME: Add -Wshadow once everything is working # Expected defines not covered by zfs_config.h or spl_config.h -AM_CFLAGS = -Wall -Wstrict-prototypes -Werror -Wno-switch \ - -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE \ - -D__EXTENSIONS__ -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS \ - -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE \ - -DTEXT_DOMAIN=\"zfs-linux-user\" +AM_CFLAGS = -Wall -Wstrict-prototypes -fno-strict-aliasing -Werror \ + -D_GNU_SOURCE -D__EXTENSIONS__ -D_REENTRANT \ + -D_POSIX_PTHREAD_SEMANTICS -D_FILE_OFFSET_BITS=64 \ + -D_LARGEFILE64_SOURCE -DTEXT_DOMAIN=\"zfs-linux-user\" ztest_SOURCES = \ ${top_srcdir}/cmd/ztest/ztest.c diff --git a/configure b/configure index 69db18f3fa..362ed653aa 100755 --- a/configure +++ b/configure @@ -19195,13 +19195,8 @@ echo "${ECHO_T}$ZFS_CONFIG" >&6; kernel) KERNELMAKE_PARAMS="V=1" - KERNELCPPFLAGS="$KERNELCPPFLAGS -Wall -Wstrict-prototypes -Werror" - KERNELCPPFLAGS="$KERNELCPPFLAGS -Wno-switch" - KERNELCPPFLAGS="$KERNELCPPFLAGS -Wno-uninitialized -fno-strict-aliasing" - - KERNELCPPFLAGS="$KERNELCPPFLAGS -DHAVE_SPL -D_KERNEL" + KERNELCPPFLAGS="$KERNELCPPFLAGS -Werror -DHAVE_SPL -D_KERNEL" KERNELCPPFLAGS="$KERNELCPPFLAGS -DTEXT_DOMAIN=\\\"zfs-linux-kernel\\\"" - KERNELCPPFLAGS="$KERNELCPPFLAGS -I$splsrc -I$splsrc/include -I$TOPDIR" if test "$kernelbuild" != "$kernelsrc"; then @@ -19602,13 +19597,8 @@ echo "${ECHO_T}yes" >&6 all) KERNELMAKE_PARAMS="V=1" - KERNELCPPFLAGS="$KERNELCPPFLAGS -Wall -Wstrict-prototypes -Werror" - KERNELCPPFLAGS="$KERNELCPPFLAGS -Wno-switch" - KERNELCPPFLAGS="$KERNELCPPFLAGS -Wno-uninitialized -fno-strict-aliasing" - - KERNELCPPFLAGS="$KERNELCPPFLAGS -DHAVE_SPL -D_KERNEL" + KERNELCPPFLAGS="$KERNELCPPFLAGS -Werror -DHAVE_SPL -D_KERNEL" KERNELCPPFLAGS="$KERNELCPPFLAGS -DTEXT_DOMAIN=\\\"zfs-linux-kernel\\\"" - KERNELCPPFLAGS="$KERNELCPPFLAGS -I$splsrc -I$splsrc/include -I$TOPDIR" if test "$kernelbuild" != "$kernelsrc"; then diff --git a/lib/libavl/Makefile.in b/lib/libavl/Makefile.in index d97465649d..5920e098fd 100644 --- a/lib/libavl/Makefile.in +++ b/lib/libavl/Makefile.in @@ -217,11 +217,10 @@ DEFAULT_INCLUDES = -I${top_srcdir} -I${top_srcdir}/module/avl/include \ # FIXME: Add -Wshadow once everything is working # Expected defines not covered by zfs_config.h or spl_config.h -AM_CFLAGS = -Wall -Wstrict-prototypes -Werror -Wno-switch \ - -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE \ - -D__EXTENSIONS__ -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS \ - -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE \ - -DTEXT_DOMAIN=\"zfs-linux-user\" +AM_CFLAGS = -Wall -Wstrict-prototypes -fno-strict-aliasing -Werror \ + -D_GNU_SOURCE -D__EXTENSIONS__ -D_REENTRANT \ + -D_POSIX_PTHREAD_SEMANTICS -D_FILE_OFFSET_BITS=64 \ + -D_LARGEFILE64_SOURCE -DTEXT_DOMAIN=\"zfs-linux-user\" lib_LTLIBRARIES = libavl.la libavl_la_SOURCES = \ ${top_srcdir}/module/avl/avl.c \ diff --git a/lib/libnvpair/Makefile.in b/lib/libnvpair/Makefile.in index 6e19b612ec..2d004ca6d5 100644 --- a/lib/libnvpair/Makefile.in +++ b/lib/libnvpair/Makefile.in @@ -220,11 +220,10 @@ DEFAULT_INCLUDES = -I${top_srcdir} \ # FIXME: Add -Wshadow once everything is working # Expected defines not covered by zfs_config.h or spl_config.h -AM_CFLAGS = -Wall -Wstrict-prototypes -Werror -Wno-switch \ - -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE \ - -D__EXTENSIONS__ -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS \ - -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE \ - -DTEXT_DOMAIN=\"zfs-linux-user\" +AM_CFLAGS = -Wall -Wstrict-prototypes -fno-strict-aliasing -Werror \ + -D_GNU_SOURCE -D__EXTENSIONS__ -D_REENTRANT \ + -D_POSIX_PTHREAD_SEMANTICS -D_FILE_OFFSET_BITS=64 \ + -D_LARGEFILE64_SOURCE -DTEXT_DOMAIN=\"zfs-linux-user\" lib_LTLIBRARIES = libnvpair.la libnvpair_la_SOURCES = \ ${top_srcdir}/lib/libnvpair/libnvpair.c \ diff --git a/lib/libspl/Makefile.in b/lib/libspl/Makefile.in index 8c56dba134..9f37ab9d3e 100644 --- a/lib/libspl/Makefile.in +++ b/lib/libspl/Makefile.in @@ -228,11 +228,10 @@ DEFAULT_INCLUDES = -I${top_srcdir} -I${top_srcdir}/lib/libspl/include # FIXME: Add -Wshadow once everything is working # Expected defines not covered by zfs_config.h or spl_config.h -AM_CFLAGS = -Wall -Wstrict-prototypes -Werror -Wno-switch \ - -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE \ - -D__EXTENSIONS__ -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS \ - -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE \ - -DTEXT_DOMAIN=\"zfs-linux-user\" +AM_CFLAGS = -Wall -Wstrict-prototypes -fno-strict-aliasing -Werror \ + -D_GNU_SOURCE -D__EXTENSIONS__ -D_REENTRANT \ + -D_POSIX_PTHREAD_SEMANTICS -D_FILE_OFFSET_BITS=64 \ + -D_LARGEFILE64_SOURCE -DTEXT_DOMAIN=\"zfs-linux-user\" SUBDIRS = asm-i686 asm-x86_64 include AM_CCASFLAGS = \ -I${top_srcdir}/lib/libspl/include diff --git a/lib/libunicode/Makefile.in b/lib/libunicode/Makefile.in index 27a280bb90..0176478aad 100644 --- a/lib/libunicode/Makefile.in +++ b/lib/libunicode/Makefile.in @@ -218,11 +218,10 @@ DEFAULT_INCLUDES = -I${top_srcdir} \ # FIXME: Add -Wshadow once everything is working # Expected defines not covered by zfs_config.h or spl_config.h -AM_CFLAGS = -Wall -Wstrict-prototypes -Werror -Wno-switch \ - -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE \ - -D__EXTENSIONS__ -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS \ - -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE \ - -DTEXT_DOMAIN=\"zfs-linux-user\" +AM_CFLAGS = -Wall -Wstrict-prototypes -fno-strict-aliasing -Werror \ + -D_GNU_SOURCE -D__EXTENSIONS__ -D_REENTRANT \ + -D_POSIX_PTHREAD_SEMANTICS -D_FILE_OFFSET_BITS=64 \ + -D_LARGEFILE64_SOURCE -DTEXT_DOMAIN=\"zfs-linux-user\" lib_LTLIBRARIES = libunicode.la libunicode_la_SOURCES = \ ${top_srcdir}/module/unicode/u8_textprep.c \ diff --git a/lib/libuutil/Makefile.in b/lib/libuutil/Makefile.in index 46f157ec57..e6b4720534 100644 --- a/lib/libuutil/Makefile.in +++ b/lib/libuutil/Makefile.in @@ -221,11 +221,10 @@ DEFAULT_INCLUDES = -I${top_srcdir} \ # FIXME: Add -Wshadow once everything is working # Expected defines not covered by zfs_config.h or spl_config.h -AM_CFLAGS = -Wall -Wstrict-prototypes -Werror -Wno-switch \ - -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE \ - -D__EXTENSIONS__ -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS \ - -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE \ - -DTEXT_DOMAIN=\"zfs-linux-user\" +AM_CFLAGS = -Wall -Wstrict-prototypes -fno-strict-aliasing -Werror \ + -D_GNU_SOURCE -D__EXTENSIONS__ -D_REENTRANT \ + -D_POSIX_PTHREAD_SEMANTICS -D_FILE_OFFSET_BITS=64 \ + -D_LARGEFILE64_SOURCE -DTEXT_DOMAIN=\"zfs-linux-user\" lib_LTLIBRARIES = libuutil.la libuutil_la_SOURCES = \ ${top_srcdir}/lib/libuutil/uu_alloc.c \ diff --git a/lib/libzfs/Makefile.in b/lib/libzfs/Makefile.in index 33927105a6..1cd7eb666d 100644 --- a/lib/libzfs/Makefile.in +++ b/lib/libzfs/Makefile.in @@ -228,11 +228,10 @@ DEFAULT_INCLUDES = -I${top_srcdir} -I${top_srcdir}/lib/libzfs/include \ # FIXME: Add -Wshadow once everything is working # Expected defines not covered by zfs_config.h or spl_config.h -AM_CFLAGS = -Wall -Wstrict-prototypes -Werror -Wno-switch \ - -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE \ - -D__EXTENSIONS__ -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS \ - -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE \ - -DTEXT_DOMAIN=\"zfs-linux-user\" +AM_CFLAGS = -Wall -Wstrict-prototypes -fno-strict-aliasing -Werror \ + -D_GNU_SOURCE -D__EXTENSIONS__ -D_REENTRANT \ + -D_POSIX_PTHREAD_SEMANTICS -D_FILE_OFFSET_BITS=64 \ + -D_LARGEFILE64_SOURCE -DTEXT_DOMAIN=\"zfs-linux-user\" lib_LTLIBRARIES = libzfs.la libzfs_la_SOURCES = \ ${top_srcdir}/lib/libzfs/libzfs_changelist.c \ diff --git a/lib/libzpool/Makefile.in b/lib/libzpool/Makefile.in index dc48dfff6c..56a07c97a0 100644 --- a/lib/libzpool/Makefile.in +++ b/lib/libzpool/Makefile.in @@ -244,11 +244,10 @@ DEFAULT_INCLUDES = -I${top_srcdir} \ # FIXME: Add -Wshadow once everything is working # Expected defines not covered by zfs_config.h or spl_config.h -AM_CFLAGS = -Wall -Wstrict-prototypes -Werror -Wno-switch \ - -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE \ - -D__EXTENSIONS__ -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS \ - -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE \ - -DTEXT_DOMAIN=\"zfs-linux-user\" +AM_CFLAGS = -Wall -Wstrict-prototypes -fno-strict-aliasing -Werror \ + -D_GNU_SOURCE -D__EXTENSIONS__ -D_REENTRANT \ + -D_POSIX_PTHREAD_SEMANTICS -D_FILE_OFFSET_BITS=64 \ + -D_LARGEFILE64_SOURCE -DTEXT_DOMAIN=\"zfs-linux-user\" SUBDIRS = include lib_LTLIBRARIES = libzpool.la libzpool_la_SOURCES = \