[Buildroot] [PATCH] libinput: fix missing static_assert symbol
Peter Seiderer
ps.report at gmx.net
Sun May 15 07:49:41 UTC 2016
Hello Baruch,
On Sun, 15 May 2016 08:34:04 +0300, Baruch Siach <baruch at tkos.co.il> wrote:
> Hi Buildroot list,
>
> On Sun, May 15, 2016 at 06:24:00AM +0300, Baruch Siach wrote:
> > static_assert() in from C++. Don't use it in C code.
>
> This is wrong. As upstream developer Jonas Ådahl pointed out, C11 also defines
> static_assert as a convenience macro for _Static_assert. uClibc{,-ng} however
> that does not provide this macro. Would it make sense to disable libinput for
> uClibc{,-ng}?
Or honor the second part of Jonas answer [1]: '... or define a no-op fallback
when it is not defined.'
Seems a less radical solution than disable complete package (plus dependencies)
for uClibc because of a minor issue?
Regards,
Peter
[1] https://lists.freedesktop.org/archives/wayland-devel/2016-May/028877.html
>
> baruch
>
More information about the buildroot
mailing list