[Bug #917] cannot make with bison-2.4.1 (cont.)


#1

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

e$B5/I<<Te(B: Kazuhiro NISHIYAMA
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Normal

tUPLUSe$B$J$I$,e(Benume$B$N$_$Ge(B#definee$B$5$l$F$$$J$$$?$a!"e(B
e$B!Ve(B#elif tUPLUS != 321e$B!W$K0z$C$+$+$C$Fe(B
e$B!Ve(Berror: #error tUPLUS differse$B!W$K$J$k$h$&$G$9!#e(B

$ 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
$


#2

e$B%A%1%C%He(B #917 e$B$,99?7$5$l$^$7$?!#e(B (by Nobuyoshi N.)

e$B%9%F!<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B
e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B

Applied in changeset r20977.

http://redmine.ruby-lang.org/issues/show/917