Project

General

Profile

Actions

Bug #3771

closed

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

Added by arton (Akio Tajima) almost 12 years ago. Updated about 11 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 <windows.h>

typedef HINSTANCE DL_HANDLE;

define DL_OPEN LoadLibrary

=end

Actions #1

Updated by nagai (Hidetoshi Nagai) almost 12 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

Actions #2

Updated by nagai (Hidetoshi Nagai) almost 12 years ago

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

From: Akio Tajima
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 系と共通ソースにするために手を加えましたが,
報告いただいたパッチを取りこみました.
報告をありがとうございました.

永井 秀利 ()
九州工業大学大学院情報工学研究院知能情報工学研究系知能情報メディア部門助教

=end

Actions

Also available in: Atom PDF