tried to emerge xgammon today, and got the following compiler error: xgammon.c:947:7: missing terminating " character xgammon.c: In function `checkcmdline': xgammon.c:948: error: `string' undeclared (first use in this function) xgammon.c:948: error: (Each undeclared identifier is reported only once xgammon.c:948: error: for each function it appears in.) xgammon.c:949: error: `color' undeclared (first use in this function) xgammon.c:949: error: subscripted value is neither array nor pointer xgammon.c:953: error: syntax error before "the" xgammon.c:953: error: stray '\' in program xgammon.c:953:59: missing terminating " character xgammon.c:954: error: stray '\' in program xgammon.c:954:59: missing terminating " character xgammon.c:962: error: stray '\' in program xgammon.c:962:63: missing terminating " character xgammon.c:971:55: missing terminating " character here's my make.conf (in case it matters): CFLAGS="-pipe -O3 -march=pentium3 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j2" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://128.213.5.34/gentoo/ http://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo" Reproducible: Always Steps to Reproduce: 1. emerge xgammon Actual Results: compiler error as above Expected Results: working xgammon ;-) I have a small patch that fixes this. Might not be the most elegent fix, but it gets it going for me. I'll attach forthwith.
Created attachment 30938 [details, diff] simple patch that gets xgammon working for me As I said- nothing elegent - just added these to the end of the multi-line strings lines: \n\ I'd be happy to know if there was some make.conf (or other) setting i should have tweaked to get around this.
oops- i should have said this was xgammon-0.98a.
Fixed in CVS. Thanks for the bug report.