[ruby-core:76644] [Ruby trunk Bug#12644] Support debug build on Windows with MSVC
From:
davispuh@...
Date:
2016-08-01 18:27:22 UTC
List:
ruby-core #76644
Issue #12644 has been reported by Dト」is Mosト]s. ---------------------------------------- Bug #12644: Support debug build on Windows with MSVC https://bugs.ruby-lang.org/issues/12644 * Author: Dト」is Mosト]s * Status: Open * Priority: Normal * Assignee: * ruby -v: ruby 2.4.0dev (2016-08-01 trunk 55789) [x64-mingw32] * Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN ---------------------------------------- When building debug build with MSVC (`-MDd` flag) then it will be linked to `ucrtbased.dll` where `_isatty` function obviously differs. I've attached a patch which fixes this so that `__pioinfo` will be found for both debug and non-debug builds (x86 and x64) Anyway I really really don't like this and I think Ruby should keep it's own fd <=> handle mapping and not use this hack, but for now this works until `_isatty` changes. ---Files-------------------------------- 0001-Support-debug-build-on-Windows-with-MSVC.patch (4.04 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>