Re: [PATCH v2 libinput] Add configure.ac check for static_assert

2016-05-16 Thread Baruch Siach
Hi Peter, On Mon, May 16, 2016 at 01:32:07PM +1000, Peter Hutterer wrote: > Part of C11, defined via assert.h. > > Signed-off-by: Peter Hutterer This fixes the build using a uClibc-ng toolchain that does not define the static_assert macro. Tested-by: Baruch Siach Thank

[PATCH libinput] tablet: remove C++ static_assert

2016-05-14 Thread Baruch Siach
static_assert() is C++ only. Build may fail with: CCLD event-debug ../src/.libs/libinput.so: undefined reference to `static_assert' collect2: error: ld returned 1 exit status Use just assert() like the rest of the code. Signed-off-by: Baruch Siach --- src/evdev-tablet.c | 4 +--- 1