Bug #845: warning: "RUBY_VERSION_CODE" is not defined
http://redmine.ruby-lang.org/issues/show/845

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

rational.cとcomplex.cでwarningが出ています。

http://www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/last

gcc -DRUBY_DEBUG_ENV -O2 -g -Wall -Wformat=2 -Wundef -Wno-parentheses  -I. -I.ext/include/i686-linux -I./include -I.  -DRUBY_EXPORT   -o rational.o -c rational.c
rational.c:380:5: warning: "RUBY_VERSION_CODE" is not defined
rational.c:1544:5: warning: "NUBY" is not defined

gcc -DRUBY_DEBUG_ENV -O2 -g -Wall -Wformat=2 -Wundef -Wno-parentheses  -I. -I.ext/include/i686-linux -I./include -I.  -DRUBY_EXPORT   -o complex.o -c complex.c
complex.c:323:5: warning: "RUBY_VERSION_CODE" is not defined
complex.c:1430:5: warning: "NUBY" is not defined


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