From: "funny_falcon (Yura Sokolov)" Date: 2012-11-30T17:43:41+09:00 Subject: [ruby-core:50376] [ruby-trunk - Bug #7478][Open] Do not include vararg.h - always include stdarg.h Issue #7478 has been reported by funny_falcon (Yura Sokolov). ---------------------------------------- Bug #7478: Do not include vararg.h - always include stdarg.h https://bugs.ruby-lang.org/issues/7478 Author: funny_falcon (Yura Sokolov) Status: Open Priority: High Assignee: Category: core Target version: 1.9.3 ruby -v: ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-linux] Cause : https://gist.github.com/4172330 It seems that stdarg.h is included in many separate C files unconditionally: array.c, class.c, error.c, sprintf.c, include/ruby/ruby.h, include/ruby/encoding.h - all includes stdarg.h without checking for HAVE_STDARG_PROTOTYPES So that, why there is check in include/ruby/intern.h, vm_core.h, vsnprintf.c (and may be somewhere else) -- http://bugs.ruby-lang.org/