Project

General

Profile

Actions

Bug #1445

closed

win32 debug build broken

Added by jamezilla (James Hughes) almost 15 years ago. Updated over 4 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 1.8.7 (2009-04-08 patchlevel 160) [i386-mswin32_80]
[ruby-core:23395]

Description

=begin
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 */
=end


Files

bigdecimal.c (120 KB) bigdecimal.c Patched file jamezilla (James Hughes), 05/08/2009 09:23 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0