From: Luis Lavena Date: 2011-04-23T22:50:29+09:00 Subject: [ruby-core:35860] [Ruby 1.9 - Bug #4600][Open] date/date_parse.c errors are breaking MinGW build Issue #4600 has been reported by Luis Lavena. ---------------------------------------- Bug #4600: date/date_parse.c errors are breaking MinGW build http://redmine.ruby-lang.org/issues/4600 Author: Luis Lavena Status: Open Priority: Normal Assignee: tadayoshi funaba Category: build Target version: 1.9.x ruby -v: ruby 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32] Hello, Recent commits to ext/date/date_parse are breaking the MinGW build. As revision 31323:
make[2]: Entering directory `/c/Users/Luis/Projects/oss/oci/rubyinstaller/sandbox/ruby19_build/ext/date'
generating date_core-i386-mingw32.def
compiling ../../../../../../ruby/ext/date/date_core.c
compiling ../../../../../../ruby/ext/date/date_parse.c
../../../../../../ruby/ext/date/date_parse.c: In function 'parse_ddd_cb':
../../../../../../ruby/ext/date/date_parse.c:1105:6: warning: implicit declaration of function 'index'
../../../../../../ruby/ext/date/date_parse.c:1105:11: warning: incompatible implicit declaration of
built-in function 'index'
compiling ../../../../../../ruby/ext/date/date_strftime.c
compiling ../../../../../../ruby/ext/date/date_strptime.c
linking shared-object date_core.so
date_parse.o: In function `parse_ddd_cb':
c:\Users\Luis\Projects\oss\oci\rubyinstaller\sandbox\ruby19_build\ext\date/../../../../../../ruby/ext/date/date_parse.c:1105: undefined reference to `index'
collect2: ld returned 1 exit status
make[2]: *** [../../.ext/i386-mingw32/date_core.so] Error 1
make[2]: Leaving directory `/c/Users/Luis/Projects/oss/oci/rubyinstaller/sandbox/ruby19_build/ext/date'
make[1]: *** [ext/date/all] Error 2
-- http://redmine.ruby-lang.org