Compiling on Solus?
Hello!
I might be missing something rather simple here, but I'm having issues compiling on Solus. ./configure doesn't seem to have any issues what so ever. Trying to run "make check" however results in this (plus a lot more).
What am I missing?
In file included from test-intprops.c:33:0:
intprops.h:234:34: error: expected ')' before '(' token
__builtin_add_overflow (a, b, (__typeof__ ((a) + (b)) *) 0)
^
In file included from ../../gl/sys/types.h:28:0,
from ../../gl/stdio.h:58,
from macros.h:21,
from test-intprops.c:40:
/usr/include/sys/types.h:33:9: error: unknown type name '__u_char'
typedef __u_char u_char;
^~~~~~~~
In file included from intprops.h:24:0,
from test-intprops.c:33:
test-intprops.c: In function 'main':
../../gl/verify.h:251:32: error: expected expression before ',' token
#define verify(R) _GL_VERIFY (R, "verify (" #R ")")
^
test-intprops.c:48:25: note: in expansion of macro 'verify'
# define VERIFY(x) do { verify (x); } while (0)
^~~~~~
test-intprops.c:162:3: note: in expansion of macro 'VERIFY'
VERIFY (INT_ADD_OVERFLOW (INT_MAX, 1));
^~~~~~
../../gl/verify.h:251:32: error: expression in static assertion is not an integer
#define verify(R) _GL_VERIFY (R, "verify (" #R ")")
^
test-intprops.c:48:25: note: in expansion of macro 'verify'
# define VERIFY(x) do { verify (x); } while (0)
^~~~~~
test-intprops.c:162:3: note: in expansion of macro 'VERIFY'
VERIFY (INT_ADD_OVERFLOW (INT_MAX, 1));
^~~~~~
test-intprops.c:146:44: error: expected expression before '==' token
VERIFY (INT_##opname##_OVERFLOW (a, b) == (v))