Project

General

Profile

Backport #1445

win32 debug build broken

Added by jamezilla (James Hughes) over 10 years ago. Updated over 8 years ago.

Status:
Assigned
Priority:
Normal
[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

History

#1

Updated by nobu (Nobuyoshi Nakada) over 10 years ago

  • Status changed from Open to Assigned
  • Assignee set to shyouhei (Shyouhei Urabe)

=begin
r22689 needs to be backported.
=end

#2

Updated by shyouhei (Shyouhei Urabe) about 10 years ago

  • Assignee changed from shyouhei (Shyouhei Urabe) to wyhaines (Kirk Haines)

=begin
Backported as r23628. I suspect 1.8.6 also has this problem.

=end

Also available in: Atom PDF