Re: [PATCH libinput] tablet: remove C++ static_assert

2016-05-14 Thread Jonas Ã…dahl
On Sun, May 15, 2016 at 06:03:14AM +0300, Baruch Siach wrote: > static_assert() is C++ only. Build may fail with: static_assert() is not C++ only, it is part of C11. We should probably either just require C11, or define a no-op fallback when it is not defined. Jonas > > CCLD event-debug

[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 file