Project

General

Profile

Bug #3771

VC++ can't make ext/tk with enabling stubs

Added by arton (Akio Tajima) about 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
ruby -v:
1.9.2p0 (2010-08-18) [i386-mswin32_100]
Backport:
[ruby-dev:42159]

Description

=begin
VC++で
--enable-tcltk-stubs を有効にしてmakeすると、tkのmakeに失敗します。
以下、パッチです。

--- stubs.c.org Tue Aug 31 16:21:44 2010
+++ stubs.c Tue Aug 31 16:21:55 2010
@@ -72,7 +72,7 @@
#if defined USE_TCL_STUBS && defined USE_TK_STUBS

#if defined WIN32 || defined __CYGWIN_
-# include "util.h"
+# include "ruby/util.h"
# include
typedef HINSTANCE DL_HANDLE;
# define DL_OPEN LoadLibrary
=end

#1

Updated by nagai (Hidetoshi Nagai) about 10 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
This issue was solved with changeset r29151.
Akio, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

#2

Updated by nagai (Hidetoshi Nagai) about 10 years ago

=begin
永井@知能.九工大です.

From: Akio Tajima redmine@ruby-lang.org
Subject: [ruby-dev:42159] [Ruby 1.9-Bug#3771][Open] VC++ can't make ext/tk with enabling stubs
Date: Tue, 31 Aug 2010 16:28:36 +0900
Message-ID:

VC++で
--enable-tcltk-stubs を有効にしてmakeすると、tkのmakeに失敗します。
以下、パッチです。

1.8 系と共通ソースにするために手を加えましたが,
報告いただいたパッチを取りこみました.
報告をありがとうございました.
--
永井 秀利 (nagai@ai.kyutech.ac.jp)
九州工業大学大学院情報工学研究院知能情報工学研究系知能情報メディア部門助教

=end

Also available in: Atom PDF