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