Bug #917: cannot make with bison-2.4.1 (cont.)
http://redmine.ruby-lang.org/issues/show/917

起票者: Kazuhiro NISHIYAMA
ステータス: Open, 優先度: Normal

tUPLUSなどがenumのみで#defineされていないため、
「#elif tUPLUS != 321」に引っかかって
「error: #error tUPLUS differs」になるようです。

$ make
gcc -DRUBY_DEBUG_ENV -O2 -g -Wall -Wformat=2 -Wundef -Wno-parentheses  -fPIC  -I. -I.ext/include/x86_64-linux -I../include -I..  -DRUBY_EXPORT   -o parse.o -c parse.c
In file included from ../parse.y:23:
../id.h:68:7: warning: "tUPLUS" is not defined
../id.h:69:2: error: #error tUPLUS differs
../id.h:162:5: warning: "SUPPORT_JOKE" is not defined
../id.h:168:5: warning: "SUPPORT_JOKE" is not defined
In file included from ../parse.y:41:
../id.c:43:5: warning: "SUPPORT_JOKE" is not defined
parse.c:884:6: warning: "YYENABLE_NLS" is not defined
parse.c:4107:6: warning: "YYLTYPE_IS_TRIVIAL" is not defined
make: *** [parse.o] Error 1
$


----------------------------------------
http://redmine.ruby-lang.org