DragonFly BSD
DragonFly commits List (threaded) for 2011-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: Pluck options which are not applicable to C++ out of the C++ command line.


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 16 Jan 2011 00:28:33 -0800 (PST)

commit 9425e76502e30ce4767fd0c12783f90d54a261ad
Author: Sascha Wildner <saw@online.de>
Date:   Sun Jan 16 09:28:06 2011 +0100

    Pluck options which are not applicable to C++ out of the C++ command line.
    
    -Wnested-externs
    -W*-prototypes
    -Wno-pointer-sign
    -Wold-style-definition
    
    Also, ignore -std=... for the moment. It's set globally to gnu99 now and
    that leads to warnings in C++ compilation. We'll ponder other ways to cope
    with this later.
    
    This commit will allow us to raise WARNS further for C++.
    
    Taken-from: FreeBSD

Summary of changes:
 share/mk/sys.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9425e76502e30ce4767fd0c12783f90d54a261ad


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]