freebsd-dev/lib/libuutil
Brian Behlendorf 12c1acde76 Set -Wno-unused-but-set-variable globally
As of gcc-4.6 the option -Wunused-but-set-variable is enabled by
default.  While this is a useful warning there are numerous places
in the ZFS code when a variable is set and then only checked in an
ASSERT().  To avoid having to update every instance of this in the
code we now set -Wno-unused-but-set-variable to suppress the warning.

Additionally, when building with --enable-debug and -Werror set these
warning also become fatal.  We can reevaluate the suppression of these
error at a later time if it becomes an issue.  For now we are basically
just reverting to the previous gcc behavior.
2011-04-19 10:44:10 -07:00
..
Makefile.am Support custom build directories and move includes 2010-09-08 12:38:56 -07:00
Makefile.in Set -Wno-unused-but-set-variable globally 2011-04-19 10:44:10 -07:00
uu_alloc.c Update to onnv_147 2010-08-26 14:24:34 -07:00
uu_avl.c Fix gcc ident pragma warnings 2010-08-27 15:34:02 -07:00
uu_dprintf.c Fix gcc ident pragma warnings 2010-08-27 15:34:02 -07:00
uu_ident.c Fix gcc ident pragma warnings 2010-08-27 15:34:02 -07:00
uu_list.c Fix gcc ident pragma warnings 2010-08-27 15:34:02 -07:00
uu_misc.c Add linux unused code tracking 2010-08-31 13:42:00 -07:00
uu_open.c Fix gcc ident pragma warnings 2010-08-27 15:34:02 -07:00
uu_pname.c Fix gcc ident pragma warnings 2010-08-27 15:34:02 -07:00
uu_string.c Update to onnv_147 2010-08-26 14:24:34 -07:00
uu_strtoint.c Fix gcc ident pragma warnings 2010-08-27 15:34:02 -07:00