Bug #7478

Do not include vararg.h - always include stdarg.h

Added by Yura Sokolov over 1 year ago. Updated about 1 year ago.

[ruby-core:50376]
Status:Rejected
Priority:Low
Assignee:Nobuyoshi Nakada
Category:core
Target version:1.9.3
ruby -v:ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-linux] Backport:

Description

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 HAVESTDARGPROTOTYPES

So that, why there is check in include/ruby/intern.h, vm_core.h, vsnprintf.c (and may be somewhere else)

History

#1 Updated by Nobuyoshi Nakada over 1 year ago

  • Status changed from Open to Feedback
  • Priority changed from High to Low

Why does rbcvstdarg check fail?
Could you show config.log file?

#2 Updated by Koichi Sasada about 1 year ago

  • Assignee set to Nobuyoshi Nakada

#3 Updated by Nobuyoshi Nakada about 1 year ago

  • Status changed from Feedback to Rejected

No feedback.

Also available in: Atom PDF