Bug #4835: Compilation failure of ext/tk with recent ActiveTcl
Author: Yuki S.
Status: Open
Priority: Normal
Assignee: Hidetoshi Nagai
Category: ext
Target version: 1.9.2
ruby -v: ruby 1.9.2p274 (2011-06-06) [i386-mswin32_100]
Recent version of ActiveTcl contains “-Duintptr_t=unsigned\ int” in
TCL_DEFS. But this escape by backslash is not recognized correctly by
cl.exe. So compilation of ext/tk with Visual C++ fails.
Bug #4835: Compilation failure of ext/tk with recent ActiveTcl
Author: Yuki S.
Status: Open
Priority: High
Assignee: Hidetoshi Nagai
Category: ext
Target version: 1.9.2
ruby -v: ruby 1.9.2p274 (2011-06-06) [i386-mswin32_100]
Recent version of ActiveTcl contains “-Duintptr_t=unsigned\ int” in
TCL_DEFS. But this escape by backslash is not recognized correctly by
cl.exe. So compilation of ext/tk with Visual C++ fails.
From: Yuki S. [email protected]
Subject: [ruby-dev:43635] [Ruby 1.9 - Bug #4835] Compilation failure of
ext/tk with recent ActiveTcl
Date: Mon, 6 Jun 2011 14:44:47 +0900
Message-ID: [email protected]
Recent version of ActiveTcl contains “-Duintptr_t=unsigned\ int” in TCL_DEFS.
But this escape by backslash is not recognized correctly by cl.exe. So
compilation of ext/tk with Visual C++ fails.
I don’t have Visual C++.
Does it properly recognize ‘-D"uintptr_t=unsigned int"’?