gcc50: Exclude -Wunused-local-typedefs from C++ flags for now.
authorSascha Wildner <saw@online.de>
Wed, 25 Feb 2015 03:55:09 +0000 (04:55 +0100)
committerSascha Wildner <saw@online.de>
Wed, 25 Feb 2015 03:56:47 +0000 (04:56 +0100)
commit7431acdac28b044e8c36042bc91009824a095ce8
tree60026a1f0b3a8cab6b0236f6a030fe3da6f272bb
parentb5ed98c8ece2b7f45b64ba73b1e6036ae1df00ae
gcc50: Exclude -Wunused-local-typedefs from C++ flags for now.

At least GCC 5.0 is warning on its own C++ includes (stl_algo.h,
via <algorithm>) if -Wextra is set, breaking the build of programs
which do nothing wrong themselves (such as devd(8)).

When this gets fixed, we can revert this commit again.

Note that I didn't check with GCC 4.8 or 4.9.
share/mk/sys.mk