Bug #917

cannot make with bison-2.4.1 (cont.)

Added by Kazuhiro NISHIYAMA about 3 years ago. Updated 10 months ago.

[ruby-dev:37553]
Status:Closed Start date:12/22/2008
Priority:Normal Due date:
Assignee:Nobuyoshi Nakada % Done:

100%

Category:-
Target version:1.9.1 Release Candidate
ruby -v:

Description

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
$

Associated revisions

Revision 20977
Added by Nobuyoshi Nakada about 3 years ago

* template/id.h.tmpl, id.h (ruby_method_ids): not depend on if token are defined as macros. [ruby-dev:37553]

History

Updated by Yuki Sonoda about 3 years ago

  • Assignee set to Nobuyoshi Nakada
  • Target version set to 1.9.1 Release Candidate

Updated by Nobuyoshi Nakada about 3 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100
Applied in changeset r20977.

Also available in: Atom PDF