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