MinGW: r36626 broke the build (x86 & x64)
After r36626, gc.c compilation fails:
../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:
#1 [ruby-core:47009] Updated by Narihiro Nakamura over 4 years ago
- Status changed from Assigned to Closed
I fixed it.
Thanks for your report.