DragonFly commits List (threaded) for 2012-09
[
Date Prev][Date Next]
[
Thread Prev][Thread Next]
[
Date Index][
Thread Index]
git: gcc47 build fixes: Unused-but-set-variable + more warnings
commit 50a6186734f490f3047917d2cce00722c2160978
Author: John Marino <draco@marino.st>
Date: Mon Oct 1 03:09:06 2012 +0200
gcc47 build fixes: Unused-but-set-variable + more warnings
The following programs fail to build with gcc47 due to the new
unused-but-set-variable warning. They've been fixed in various ways.
The ones set with WARNS=3 suppress cast-qual warning
There is a single enum-compare error too.
This effort is not complete.
bin/csh pass -Wno-unused-but-set-variable
bin/mined source file modified
bin/sh set WARNS=3
crypto/openssh source file modified (2)
gnu/lib/libdialog source file modified
gnu/usr.bin/gdb/kgdb source file modified
gnu/usr.bin/rcs source file modified
lib/libalias source file modified
lib/libdevstat source file modified
lib/libdm set WARNS=3
lib/libevtr source file modified
lib/libldns pass -Wno-unused-but-set-variable
lib/libncp source file modified
lib/libpam set WARNS=3
lib/libsmdb pass -Wno-unused-but-set-variable
lib/libstand source file modified (4)
lib/libtcplay source file modified
lib/libthread_xu source file modified (2)
libexec/rshd source file modified
libexec/telnetd source file modified
libexec/ypxfr pass -Wno-enum-compare
sbin/atm/fore_dnld source file modified
sbin/atm/ilmid source file modified
sbin/atm/camcontrol source file modifief (2)
sbin/ccdconfig source file modified
sbin/cryptdisks source file modified
sbin/ffsinfo source file modified
sbin/fsirand source file modified
sbin/growfs source file modified
sbin/hammer source file modified
sbin/ldconfig source file modified (real bug here?)
sbin/mount source file modified
sbin/mount_ufs source file modified
sbin/mount_extfs source file modified
sbin/mountd source file modified
sbin/natd source file modified
sbin/newfs source file modified
sbin/ping6 set WARNS=3, source modified
sbin/rcorder source file modified
sbin/reboot source file modified (real bug here?)
sbin/udevd source file modified
sbin/usched source file modified
sbin/vinum source file modified
sys/boot/common source file modified
sys/boot/pc32/loader source file modified
usr.bin/brandelf source file modified
usr.bin/bzip2 pass -Wno-unused-but-set-variable
usr.bin/dfregress source file modified
usr.bin/ee source file modified
usr.bin/less pass -Wno-unused-but-set-variable
Summary of changes:
bin/csh/Makefile | 1 +
bin/mined/mined2.c | 4 +---
bin/sh/Makefile | 2 ++
crypto/openssh/ssh-pkcs11-helper.c | 3 ++-
crypto/openssh/ssh.c | 2 +-
gnu/lib/libdialog/dir.c | 2 +-
gnu/lib/libdialog/textbox.c | 2 +-
gnu/usr.bin/gdb/kgdb/kthr.c | 3 ++-
gnu/usr.bin/rcs/lib/rcsutil.c | 2 +-
lib/libalias/alias_nbt.c | 4 +++-
lib/libdevstat/devstat.c | 2 --
lib/libdm/Makefile | 2 ++
lib/libevtr/evtr.c | 4 +---
lib/libldns/Makefile | 1 +
lib/libncp/ncpl_rcfile.c | 2 +-
lib/libpam/Makefile | 2 ++
lib/libsmdb/Makefile | 1 +
lib/libstand/cd9660.c | 3 +--
lib/libstand/netif.c | 3 +--
lib/libstand/nfs.c | 3 +--
lib/libstand/tftp.c | 2 +-
lib/libtcplay/safe_mem.c | 2 +-
lib/libthread_xu/arch/i386/i386/pthread_md.c | 3 ---
lib/libthread_xu/arch/x86_64/x86_64/pthread_md.c | 3 ---
libexec/rshd/rshd.c | 2 +-
libexec/telnetd/telnetd.c | 2 +-
libexec/ypxfr/Makefile | 1 +
sbin/atm/fore_dnld/fore_dnld.c | 2 +-
sbin/atm/ilmid/ilmid.c | 4 ++--
sbin/camcontrol/camcontrol.c | 5 +++--
sbin/camcontrol/modeedit.c | 2 +-
sbin/ccdconfig/ccdconfig.c | 7 ++++++-
sbin/cryptdisks/safe_mem.c | 2 +-
sbin/ffsinfo/ffsinfo.c | 2 +-
sbin/fsirand/fsirand.c | 2 +-
sbin/growfs/growfs.c | 2 +-
sbin/hammer/cmd_info.c | 3 ---
sbin/ldconfig/ldconfig.c | 3 ++-
sbin/mount/mount.c | 2 +-
sbin/mount_ext2fs/mount_ext2fs.c | 3 +--
sbin/mount_ufs/mount.c | 2 +-
sbin/mountd/mountd.c | 2 --
sbin/natd/natd.c | 2 +-
sbin/newfs/mkfs.c | 2 +-
sbin/ping6/Makefile | 2 ++
sbin/ping6/ping6.c | 2 +-
sbin/rcorder/rcorder.c | 5 +++--
sbin/reboot/reboot.c | 3 ++-
sbin/udevd/udevd_monitor.c | 2 +-
sbin/usched/usched.c | 2 +-
sbin/vinum/commands.c | 4 ++--
sys/boot/common/ls.c | 5 ++---
sys/boot/pc32/loader/main.c | 2 +-
usr.bin/brandelf/brandelf.c | 3 ++-
usr.bin/bzip2/Makefile | 1 +
usr.bin/dfregress/testcase.c | 2 +-
usr.bin/ee/ee.c | 2 --
usr.bin/less/Makefile | 1 +
58 files changed, 75 insertions(+), 71 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/50a6186734f490f3047917d2cce00722c2160978
--
DragonFly BSD source repository
[
Date Prev][Date Next]
[
Thread Prev][Thread Next]
[
Date Index][
Thread Index]