git: gcc50: Exclude -Wunused-local-typedefs from C++ flags for now.

Sascha Wildner swildner at crater.dragonflybsd.org
Tue Feb 24 19:57:25 PST 2015


commit 7431acdac28b044e8c36042bc91009824a095ce8
Author: Sascha Wildner <saw at online.de>
Date:   Wed Feb 25 04:55:09 2015 +0100

    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.

Summary of changes:
 share/mk/sys.mk | 6 ++++++
 1 file changed, 6 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7431acdac28b044e8c36042bc91009824a095ce8


-- 
DragonFly BSD source repository



More information about the Commits mailing list