git: devd(8): Add -Wno-unused-local-typedefs to CFLAGS for now.

Sascha Wildner swildner at
Thu Feb 26 02:48:23 PST 2015

commit cb1ce5292c83c9eb243667f8534ac508645a694e
Author: Sascha Wildner <saw at>
Date:   Thu Feb 26 11:47:05 2015 +0100

    devd(8): Add -Wno-unused-local-typedefs to CFLAGS for now.
    The issue is that with -Wunused-local-typedefs, our GCC 5.0 warns about
    unused local typedefs in its own headers, in this case stl_algo.h which
    comes in via <algorithm>, which devd(8) includes.
    c++ [...] -Werror -Wall [...] -c
    In file included from /usr/include/c++/5.0/bits/stl_algo.h:61:0,
                     from /usr/include/c++/5.0/algorithm:62,
    /usr/include/c++/5.0/bits/stl_heap.h: In function 'void std::pop_heap(_RAIter, _RAIter)':
    /usr/include/c++/5.0/bits/stl_heap.h:266:2: error: typedef '_ValueType' locally defined but not used [-Werror=unused-local-typedefs]
    More typedefs are warned about, _InputValueType, _OutputValueType, and

Summary of changes:
 sbin/devd/Makefile | 6 ++++++
 share/mk/    | 6 ------
 2 files changed, 6 insertions(+), 6 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list