From: davispuh@... Date: 2016-08-01T18:27:22+00:00 Subject: [ruby-core:76644] [Ruby trunk Bug#12644] Support debug build on Windows with MSVC Issue #12644 has been reported by D��vis Mos��ns. ---------------------------------------- Bug #12644: Support debug build on Windows with MSVC https://bugs.ruby-lang.org/issues/12644 * Author: D��vis Mos��ns * 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: