Bug #3615

Build failure trunk with MSVC

Added by Heesob Park about 5 years ago. Updated over 4 years ago.

[ruby-core:31483]
Status:Closed
Priority:Normal
Assignee:Usaku NAKAMURA
ruby -v:ruby 1.9.3dev Backport:

Description

=begin
After applying r28754, I still cannot build with MSVC.

I guess r28727 is the cause of error.

C:\work\snapshot>nmake

Microsoft(R) Program Maintenance Utility Version 9.00.30729.01
Copyright (c) Microsoft Corporation. All rights reserved.

     cl -nologo -MD -Zi -W2 -wd4996 -O2sy-  -Zm600 -DRUBY_EXPORT -I. -I.ext/i

nclude/i386-mswin32_90 -I./include -I. -I./missing -Fomain.obj -c -Tcmain.c
main.c
cl -nologo -MD -Zi -W2 -wd4996 -O2sy- -Zm600 -DRUBY_EXPORT -I. -I.ext/i
nclude/i386-mswin32_90 -I./include -I. -I./missing -Fodmydln.obj -c -Tcdmydln.c
dmydln.c
C:\work\snapshot.ext\include\i386-mswin32_90\ruby/config.h(41) : warning C4005: 'RUBY_EXTERN' : macro redefinition
c:\work\snapshot\include\ruby\defines.h(240) : see previous definition of 'RUBY_EXTERN'
cl -nologo -MD -Zi -W2 -wd4996 -O2sy- -Zm600 -DRUBY_EXPORT -I. -I.ext/i
nclude/i386-mswin32_90 -I./include -I. -I./missing -Fodmyencoding.obj -c -Tc
dmyencoding.c
dmyencoding.c
C:\work\snapshot.ext\include\i386-mswin32_90\ruby/config.h(41) : warning C4005: 'RUBY_EXTERN' : macro redefinition
c:\work\snapshot\include\ruby\defines.h(240) : see previous definition of 'RUBY_EXTERN'
C:\work\snapshot\include\ruby/encoding.h(211) : error C2370: 'rb_cEncoding' : redefinition; different storage class
C:\work\snapshot\include\ruby/ruby.h(1217) : see previous definition of 'rb_cEncoding'
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.EXE"' : return code '0x2'
Stop.
=end

History

#1 Updated by Yuki Sonoda about 5 years ago

  • Assignee set to Usaku NAKAMURA

=begin

=end

#2 Updated by Heesob Park about 5 years ago

=begin
This issue was solved with changeset r28757.

Please close this.

=end

#3 Updated by Yui NARUSE about 5 years ago

  • Status changed from Open to Closed

=begin

=end

Also available in: Atom PDF