lkml.org 
[lkml]   [2018]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Official Linux system wrapper library?
On Mon, Nov 12, 2018 at 05:36:11PM +0000, Joseph Myers wrote:
> What *is*, in my view, a bug in the uapi headers is that some of them
> don't work when included on their own. I'd expect #include
> <linux/whatever.h> or #include <asm/whatever.h>, for any such header
> installed by make headers_install, to compile on its own in userspace
> without needing any other headers to be included first, unless some header
> is specifically defined as being an internal part of another header which
> is the one that should be included.

Yes, that is a bug, and people have been working on fixing that. We now
have a new build target:
make headers_check
to keep this all working properly.

Right now on Linus's latest tree I only see one failure when running
this:
./usr/include/linux/v4l2-controls.h:1105: found __[us]{8,16,32,64} type without #include <linux/types.h>
so we are getting better.

If there are still problems with this, please let us know and we will be
glad to resolve them.

thanks,

greg k-h

\
 
 \ /
  Last update: 2018-11-12 18:55    [W:0.232 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site