From: James Hughes Date: 2009-05-08T09:24:02+09:00 Subject: [ruby-core:23395] [Bug #1445] win32 debug build broken Bug #1445: win32 debug build broken http://redmine.ruby-lang.org/issues/show/1445 Author: James Hughes Status: Open, Priority: Normal Category: ext ruby -v: ruby 1.8.7 (2009-04-08 patchlevel 160) [i386-mswin32_80] Compilation of ext/bigdecimal/bigdecimal.c fails when being compiled with nmake and debug flags. Repro: nmake DEBUGFLAGS="-ZI -MDd" OPTFLAGS="-Od" Expected: Everything would compile. Actual: Compilation fails when it gets to compiling ext/bigdecimal/bigdecimal.c The issue is related to an undefined variable 'gfDebug'. Patch: Uncomment line 1961 and change it to: static int gfDebug = 0; /* Debug switch */ ---------------------------------------- http://redmine.ruby-lang.org