git: gcc47 warnings: A few more fixes

John Marino marino at crater.dragonflybsd.org
Mon Oct 1 11:09:54 PDT 2012


commit eed9e955cd3447c8c1d62233f093f19e2a0aa68d
Author: John Marino <draco at marino.st>
Date:   Mon Oct 1 19:32:45 2012 +0200

    gcc47 warnings: A few more fixes
    
    usr.bin/make		pass -fno-address, NO_WERROR=true
    usr.bin/monitor		modified source file
    usr.bin/netstat		modified source file (2)
    usr.bin/sdpquery	WARNS=2, pass -fno-unused-but-set-variable
    
    Make has several evaluations that gcc47 believes will always
    (without exception) evaluate to true or false.  Likely gcc47 is not
    detecting some cases correctly, so -Wno-address was passed to it.
    However, -Werror overrides it, so NO_WERROR had to be set on this
    Makefile.
    
    The remaining GCC warnings will be left for swildner to handle.
    The -Werror flag will be suppress for GCC47 until further notice.

Summary of changes:
 usr.bin/make/Makefile     |    4 ++++
 usr.bin/monitor/monitor.c |    2 +-
 usr.bin/netstat/if.c      |    2 --
 usr.bin/netstat/route.c   |    3 ---
 usr.bin/sdpquery/Makefile |    5 ++++-
 5 files changed, 9 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/eed9e955cd3447c8c1d62233f093f19e2a0aa68d


-- 
DragonFly BSD source repository


More information about the Commits mailing list