Project

General

Profile

Actions

Bug #3615

closed

Build failure trunk with MSVC

Added by phasis68 (Heesob Park) over 13 years ago. Updated almost 13 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 1.9.3dev
Backport:
[ruby-core:31483]

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

Actions #1

Updated by yugui (Yuki Sonoda) over 13 years ago

  • Assignee set to usa (Usaku NAKAMURA)

=begin

=end

Actions #2

Updated by phasis68 (Heesob Park) over 13 years ago

=begin
This issue was solved with changeset r28757.

Please close this.

=end

Actions #3

Updated by naruse (Yui NARUSE) over 13 years ago

  • Status changed from Open to Closed

=begin

=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0