[#70257] [Ruby trunk - Feature #11420] [Open] Introduce ID key table into MRI — ko1@...

Issue #11420 has been reported by Koichi Sasada.

11 messages 2015/08/06

[ruby-core:70554] [Ruby trunk - Bug #11479] [Open] gcc warning variable may be used uninitialized

From: zufuliu@163.com
Date: 2015-08-23 07:00:03 UTC
List: ruby-core #70554
Issue #11479 has been reported by Zufu Liu.

----------------------------------------
Bug #11479: gcc warning variable may be used uninitialized
https://bugs.ruby-lang.org/issues/11479

* Author: Zufu Liu
* Status: Open
* Priority: Normal
* Assignee: 
* ruby -v: ruby 2.2.3p173 (2015-08-18 revision 51636) [i386-mingw32]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
build ruby-2.2.3 on Windows XP using gcc-5.1.0 generates tow warnings:

compiling signal.c
compiling sprintf.c
In file included from sprintf.c:1255:0:
vsnprintf.c: In function 'BSD_vfprintf':
vsnprintf.c:1074:15: warning: 'uqval' may be used uninitialized in this function [-Wmaybe-uninitialized]
     if (uqval != 0 || prec != 0)
               ^
compiling st.c
compiling strftime.c
compiling string.c
string.c: In function 'rb_str_enumerate_chars':
string.c:6879:3: warning: 'ary' may be used uninitialized in this function [-Wmaybe-uninitialized]
   rb_ary_push(ary, substr);
   ^

gcc:
 gcc version 5.1.0 (i686-posix-dwarf-rev0, Built by MinGW-W64 project)

build procedure:
./configure
mingw32-make



---Files--------------------------------
config.h (7.07 KB)


-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next