Hi,
one of the latest commits broke compilation for me. Make aborts with
error:
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\"
-DPACKAGE=\"plib\" -DVERSION=\"1.8.5\" -DHAVE_LIBPTHREAD=1
-DHAVE_LIBGL=1 -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I. -I../../src/sg
-I../../src/util -g -O2 -Wall -MT ssgAnimation.o -MD -MP
-MF .deps/ssgAnimation.Tpo -c -o ssgAnimation.o ssgAnimation.cxx In
file included from ssgLocal.h:27, from ssg.cxx:26: ssg.h:2879:6: error:
#elif with no expression In file included from ssgLocal.h:27, from
ssgAnimation.cxx:25: ssg.h:2879:6: error: #elif with no expression
make[2]: *** [ssgAnimation.o] Fehler 1
The guys on flightgear irc pointed out that changing line 2879 of file
src/ssg/ssg.h from "#elif" to "#else" fixes the issue.
Thank you
Alex
|