Project

General

Profile

Actions

Bug #6837

closed

MinGW: r36626 broke the build (x86 & x64)

Added by luislavena (Luis Lavena) over 11 years ago. Updated over 11 years ago.

Status:
Closed
Target version:
ruby -v:
trunk
Backport:
[ruby-core:47004]

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

Actions

Also available in: Atom PDF

Like0
Like0