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 #1

Updated by nobu (Nobuyoshi Nakada) almost 15 years ago

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

=begin
r22689 needs to be backported.
=end

Actions #2

Updated by shyouhei (Shyouhei Urabe) over 14 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

Actions #3

Updated by jeremyevans0 (Jeremy Evans) over 4 years ago

  • Tracker changed from Backport to Bug
  • Project changed from Backport186 to Ruby master
  • Description updated (diff)
  • Status changed from Assigned to Closed
  • ruby -v set to ruby 1.8.7 (2009-04-08 patchlevel 160) [i386-mswin32_80]
  • Backport set to 2.5: UNKNOWN, 2.6: UNKNOWN
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0