Bug #6837
closedMinGW: r36626 broke the build (x86 & x64)
Description
=begin
Hello,
After r36626, gc.c compilation fails:
compiling ../gc.c
../gc.c: In function 'rb_objspace_each_objects':
../gc.c:1114:5: error: implicit declaration of function 'rest_sweep' [-Werror=implicit-function-declaration]
../gc.c: At top level:
../gc.c:1974:1: warning: conflicting types for 'rest_sweep' [enabled by default]
../gc.c:1974:1: error: static declaration of 'rest_sweep' follows non-static declaration
../gc.c:1114:5: note: previous implicit declaration of 'rest_sweep' was here
cc1.exe: some warnings being treated as errors
make: *** [gc.o] Error 1
This happens on both x86 and x64 versions of GCC 4.6.1 (Windows)
See the build logs here:
http://ci.rubyinstaller.org/job/ruby-trunk-x86/98/console
http://ci.rubyinstaller.org/job/ruby-trunk-x64/98/console
=end
Updated by authorNari (Narihiro Nakamura) over 12 years ago
- Status changed from Assigned to Closed
I fixed it.
http://ci.rubyinstaller.org/job/ruby-trunk-x86/99/console
http://ci.rubyinstaller.org/job/ruby-trunk-x64/99/console
Thanks for your report.