[RFC] adding -Wmissing-include-dirs to CWARNFLAGS

From: Alexander Best <arundel_at_freebsd.org>
Date: Thu, 7 Apr 2011 18:55:10 +0000
hi there,

i'd like to propose adding -Wmissing-include-dirs to CWARNFLAGS. this will let
tinderbox fail, if any new kernel code was committed with (a) broken include
dir(s).

i ran a test via

make toolchains
make MAKE_JUST_KERNELS=yes tinderbox

and nothing seemed to go wrong with the extra warning enabled. i even found a
missing include dir, which should be fixed by the attached patch.

opinions?

so far i've only tested this with gcc. i think someone on #freebsd-clang told
me that -Wmissing-include-dirs is a noop for clang (for whatever reasons).

cheers.
alex

-- 
a13x

Received on Thu Apr 07 2011 - 16:55:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:13 UTC