Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1406031

Re: [git pull] check headers fix.

From Daniel Vetter <daniel@ffwll.ch>
Newsgroups linux.kernel
Subject Re: [git pull] check headers fix.
Date 2016-05-24 12:20 +0200
Message-ID <rChBn-1Ye-5@gated-at.bofh.it> (permalink)
References <rCe0O-89R-25@gated-at.bofh.it> <rCgFj-1o2-9@gated-at.bofh.it> <rChi2-1AN-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, May 24, 2016 at 11:52 AM, Jani Nikula
<jani.nikula@linux.intel.com> wrote:
> On Tue, 24 May 2016, Christoph Hellwig <hch@infradead.org> wrote:
>> On Tue, May 24, 2016 at 07:29:25AM +0100, Dave Airlie wrote:
>>>
>>> Hi Linus,
>>>
>>> here is the C++ guards warning fix from Arnd.
>>
>> So why the hell do we have C++ guards in kernel headers?
>
> uapi headers. See [1] for the cover letter to the patches with
> rationale.

Short summary: We want to directly reuse the headers generated by make
headers_install for the userspace side of gpu drivers, and at least
some driver teams use C++ for the compilers in there.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[git pull] check headers fix. Dave Airlie <airlied@linux.ie> - 2016-05-24 08:30 +0200
  Re: [git pull] check headers fix. Christoph Hellwig <hch@infradead.org> - 2016-05-24 11:20 +0200
    Re: [git pull] check headers fix. Jani Nikula <jani.nikula@linux.intel.com> - 2016-05-24 12:00 +0200
      Re: [git pull] check headers fix. Daniel Vetter <daniel@ffwll.ch> - 2016-05-24 12:20 +0200

csiph-web