git: gcc41/gcc44: Remove a modification to exclude -Wpointer-sign from -Wall.

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Jul 14 09:29:19 PDT 2012


commit db52ce66af1ef0653d7822f61b5888b9a1a2fb79
Author: Sascha Wildner <saw at online.de>
Date:   Sat Jul 14 18:19:13 2012 +0200

    gcc41/gcc44: Remove a modification to exclude -Wpointer-sign from -Wall.
    
    We had this as a local change in our compilers but the problem with this
    approach is that it needs to be added to each future compiler we support.
    
    This isn't so much a problem with the compilers we have in base but with
    those from pkgsrc that we support via CCVER and compilers.conf(5).
    
    Instead, add -Wno-pointer-sign to our Makefiles whenever -Wall comes into
    play.

Summary of changes:
 contrib/gcc-4.1/gcc/c-opts.c |    3 +++
 contrib/gcc-4.4/gcc/c-opts.c |    3 ---
 share/mk/bsd.sys.mk          |    2 +-
 sys/conf/bsd.kern.mk         |    2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list