From: usa@... Date: 2014-02-05T03:10:42+00:00 Subject: [ruby-core:60475] [ruby-trunk - Bug #9412] bigdecimal 1.2.4 fail to compile on windows Issue #9412 has been updated by Usaku NAKAMURA. Backport changed from 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN to 1.9.3: DONTNEED, 2.0.0: DONTNEED, 2.1: DONTNEED ---------------------------------------- Bug #9412: bigdecimal 1.2.4 fail to compile on windows https://bugs.ruby-lang.org/issues/9412#change-44941 * Author: Serge Yneuk * Status: Closed * Priority: Normal * Assignee: * Category: * Target version: * ruby -v: - * Backport: 1.9.3: DONTNEED, 2.0.0: DONTNEED, 2.1: DONTNEED ---------------------------------------- on windows 7 x 64 with ruby 1.9.3p484 and devkit DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe the latest version of gem (1.2.4) don't compile version 1.2.3 is ok result is: ```` ruby 1.9.3p484 (2013-11-22) [i386-mingw32] Updating installed gems Updating bigdecimal Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... ERROR: Error installing bigdecimal: ERROR: Failed to build gem native extension. D:/program/dvlt/ruby/ruby193/bin/ruby.exe extconf.rb checking for labs() in stdlib.h... yes checking for llabs() in stdlib.h... yes creating Makefile make clean make generating bigdecimal-i386-mingw32.def compiling bigdecimal.c bigdecimal.c: In function 'BigDecimal_new': bigdecimal.c:2523:38: error: expected ')' before 'PRIsVALUE' bigdecimal.c:2524:8: warning: spurious trailing '%' in format bigdecimal.c: In function 'BigMath_s_log': bigdecimal.c:2925:2: warning: implicit declaration of function 'DECIMAL_SIZE_OF_BITS' make: *** [bigdecimal.o] Error 1 make failed, exit code 2 ```` -- http://bugs.ruby-lang.org/