lkml.org 
[lkml]   [2019]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] static_assert: move before people start using it
From
Date
On 10/03/2019 11.51, Alexey Dobriyan wrote:
> Userspace places static_assert() macro at <assert.h>
>

So? That seems a rather weak argument. We have lots of interfaces that
also exist in userspace which are not declared in similar-named headers
(e.g. we have no stdio.h, which is where snprintf lives). Not to mention
that memcpy and friends are in <linux/string.h>, not a bare <string.h>.
Your assert.h would be the first and only header to live directly in
include/.

If you can somehow convince Andrew to take it you can add a Meh'ed-by me.

Rasmus

\
 
 \ /
  Last update: 2019-03-10 22:21    [W:0.058 / U:29.512 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site