Description
So far this fork seems like the best approach to get voxlap to compile on all systems.
But when I run make, I get those errors:
g++ -o binaries/simple.elf.o -funsigned-char -m32 -mfpmath=sse -msse -m3dnow -ffast-math -ggdb -Wall -Wextra -Wno-unused-variable -Wno-unused-parameter -Wno-unused-but-set-variable sdl-config --cflags
-D USEV5ASM=1 -I ./include -c source/simple.cpp
In file included from source/simple.cpp:17:0:
./include/voxlap5.h:129:2: error: a storage class on an anonymous aggregate in class scope is not allowed
static union { point3d s, x; }; //kv6data.xsiz direction in VXL coordinates
^
./include/voxlap5.h:130:2: error: a storage class on an anonymous aggregate in class scope is not allowed
static union
^
./include/voxlap5.h:135:2: error: a storage class on an anonymous aggregate in class scope is not allowed
static union { point3d h, y; }; //kv6data.ysiz direction in VXL coordinates
^
./include/voxlap5.h:137:2: error: a storage class on an anonymous aggregate in class scope is not allowed
static union { point3d f, z; }; //kv6data.zsiz direction in VXL coordinates
^
In file included from source/simple.cpp:26:0:
./include/porthacks.h:67:12: warning: ‘int memcasecmp(const void_, const void_, size_t)’ defined but not used [-Wunused-function]
static int memcasecmp (const void * const ptr0, const void * const ptr1, size_t n)
^
make: *** [binaries/simple.elf.o] Fehler 1
Ideas? Thanks :)