From: rocifier@... Date: 2017-09-19T07:19:27+00:00 Subject: [ruby-core:82865] [Ruby trunk Bug#12644] Support debug build on Windows with MSVC Issue #12644 has been updated by rocifier (Ryan O'Connor). davispuh (D��vis Mos��ns) wrote: > 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. I'm running into a similar issue to this trying to build with VS2015. I am seeing this error `unexpected ucrtbased.dll` appearing when my debug (MDd) build runs miniruby.exe Where can I find the exact version of this dll required by this assembly language code? ---------------------------------------- Bug #12644: Support debug build on Windows with MSVC https://bugs.ruby-lang.org/issues/12644#change-66761 * Author: davispuh (D��vis Mos��ns) * Status: Closed * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.4.0dev (2016-08-01 trunk 55789) [x64-mingw32] * Backport: 2.1: DONTNEED, 2.2: DONTNEED, 2.3: DONTNEED ---------------------------------------- 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: