Greg Troxel <g...@ir.bbn.com> writes: > Does libunistring's "make check" pass on this platform? > > should have tried that. testlocale.c fails on line 38 with:
Can you report it upstream? > So it seems that NULL is expanding to (void *) 0, and "sizeof (void *) > 0" is not legit. AFAIK sizeof is specified to work on variables and > types, and NULL is neither a variable nor a type. > > Is NULL something else on Linux? On GNU it's "#define NULL ((void *)0)". Can you try this: echo '#include <stdlib.h>' | cpp -dM - | grep NULL (assuming cpp(1) is from GCC.) Thanks, Ludo'.