From: net1957@... Date: 2014-01-14T20:17:09+00:00 Subject: [ruby-core:59761] [ruby-trunk - Bug #9412] [Open] bigdecimal 1.2.4 fail to compile on windows Issue #9412 has been reported by Serge Yneuk. ---------------------------------------- Bug #9412: bigdecimal 1.2.4 fail to compile on windows https://bugs.ruby-lang.org/issues/9412 * Author: Serge Yneuk * Status: Open * Priority: Normal * Assignee: * Category: * Target version: * ruby -v: 1.9.3 * Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN ---------------------------------------- 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/