phluid61 (Matthew Kerwin) wrote: > Sounds to me like you want a new type of object which is like `Module` but can't be `include`d. If that's the case, I'd suggest a name like `Library` or `Namespace`. > ... Yes, something like this :) ...rocifier (Ryan O'Connor)
shevegen (Robert A. Heiler) wrote: > Rocifier, can you say which ruby you have had in mind primarily? I hadn't thought about it, just wanted to see what people thought of the idea first initially. But now that you explain this, ver...rocifier (Ryan O'Connor)
matz (Yukihiro Matsumoto) wrote: > I admit modules with module_function play different role from ordinary modules, and so do refinements. > ... Hi Matz thanks for your reply. I think we would have a reasonably significant gain in makin...rocifier (Ryan O'Connor)
Using ruby commercially we have discovered that modules are no longer serving their original intended purpose of mixins. Another usage of the module has been shoehorned by using module_function. We have found that when developers use mod...rocifier (Ryan O'Connor)
MSP-Greg (Greg L) wrote: > rocifier (Ryan O'Connor) wrote: > ... Thanks my issue is very similar. The issue you linked to presents some undocumented requirements. When I try calling `rb_w32_sysinit` it crashes on this line: https://...rocifier (Ryan O'Connor)
I am linking to the static library from a win32 application (not console app) set to use the same runtime version as the ruby build. I have tried setting up a console with AllocConsole() and assigning *stdin to this console before initia...rocifier (Ryan O'Connor)
https://github.com/ruby/ruby/blob/c08f7b80889b531865e74bc5f573df8fa27f2088/io.c#L12730 `rb_stdin = prep_stdio(stdin, FMODE_READABLE, rb_cIO, "<STDIN>");` When this line (io.c) is called upon initialising ruby with `ruby_init()` or ...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'm running into a similar issue to this trying to build wit...rocifier (Ryan O'Connor)
This patch helped me understand the problem above: https://bugs.ruby-lang.org/issues/12644 After pasting the ucrtbased.dll from StarCraft II support folder into my build folder, I can now fully build ruby with /MDd and link it. You may ...rocifier (Ryan O'Connor)
That was a typo, I've tried both 2.4 and 2.5 separately. I'd also settle for rebuilding all the other libraries in the project to use /MD but I'd need to get /MDd building on Ruby. I tried overwriting the option by manually setting CO...rocifier (Ryan O'Connor)