Simon McVittie <s...@debian.org> writes:

> The new check for header-has-overly-generic-name seems too sensitive:

>> E: libmutter-2-dev: header-has-overly-generic-name 
>> usr/include/mutter/meta/util.h

> This one is canonically included as <meta/util.h> while compiling with
> `pkg-config --cflags libmutter-2`, which is just as well-namespaced as
> any other header. (Mutter headers are <meta/*> for historical reasons:
> it's a descendant of the GNOME 2 window manager, Metacity.)

I think this should only trigger on usr/include/util.h specifically, not
if the file is in any subdirectory.  Generic header names are only a
problem at the top level of the include hierarchy.

-- 
Russ Allbery (r...@debian.org)               <http://www.eyrie.org/~eagle/>

Reply via email to