Bug #6837

MinGW: r36626 broke the build (x86 & x64)

Added by Luis Lavena over 2 years ago. Updated over 2 years ago.

[ruby-core:47004]
Status:Closed
Priority:High
Assignee:Narihiro Nakamura
ruby -v:trunk Backport:

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

History

Also available in: Atom PDF