Project

General

Profile

Actions

Bug #874

closed

cannot make with bison-2.4.1

Added by znz (Kazuhiro NISHIYAMA) almost 16 years ago. Updated over 13 years ago.

Status:
Closed
Assignee:
-
ruby -v:
Backport:
[ruby-dev:37436]

Description

=begin
parse.[ch]から
#define tLAST_TOKEN 376
などの#defineがなくなっていて、ビルドできません。

$ rm parse.c
$ make
bison -d -o y.tab.c ../parse.y
sed -f ../tool/ytab.sed -e "/^#/s!y.tab.c!parse.c!" y.tab.c > parse.c.new
sed -e "/^#line.*y.tab.h/d;/^#line.*parse.y/d" y.tab.h > parse.h.new
parse.h updated
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:36: error: redeclaration of enumerator ‘tUPLUS’
parse.h:105: error: previous definition of ‘tUPLUS’ was here
../id.h:37: error: redeclaration of enumerator ‘tUMINUS’
parse.h:106: error: previous definition of ‘tUMINUS’ was here
(以下略)
=end

Actions #1

Updated by yugui (Yuki Sonoda) almost 16 years ago

  • Target version set to 1.9.1 Release Candidate

=begin

=end

Actions #2

Updated by nobu (Nobuyoshi Nakada) almost 16 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r20746.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0