Pluck options which are not applicable to C++ out of the C++ command line.
authorSascha Wildner <saw@online.de>
Sun, 16 Jan 2011 08:28:06 +0000 (09:28 +0100)
committerSascha Wildner <saw@online.de>
Sun, 16 Jan 2011 08:28:06 +0000 (09:28 +0100)
commit9425e76502e30ce4767fd0c12783f90d54a261ad
tree13436da9e84b9738a8c308c879627de5768d682f
parent2983445f8123c6675f95e89f962e6e860bdbe113
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
share/mk/sys.mk