git: Pluck options which are not applicable to C++ out of the C++ command line.
Sascha Wildner
swildner at crater.dragonflybsd.org
Sun Jan 16 00:29:06 PST 2011
commit 9425e76502e30ce4767fd0c12783f90d54a261ad
Author: Sascha Wildner <saw at 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
More information about the Commits
mailing list