Project

General

Profile

Bug #845

warning: "RUBY_VERSION_CODE" is not defined

Added by znz (Kazuhiro NISHIYAMA) about 11 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
Backport:
[ruby-dev:37344]

Description

=begin
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
=end

History

#1

Updated by matz (Yukihiro Matsumoto) about 11 years ago

  • Status changed from Open to Closed

=begin
fixed by r20612.
=end

Also available in: Atom PDF