Project

General

Profile

Actions

Bug #7478

closed

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

Added by funny_falcon (Yura Sokolov) over 11 years ago. Updated about 11 years ago.

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

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 HAVE_STDARG_PROTOTYPES

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

Updated by nobu (Nobuyoshi Nakada) about 11 years ago

  • Status changed from Open to Feedback
  • Priority changed from 5 to 3

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

Updated by ko1 (Koichi Sasada) about 11 years ago

  • Assignee set to nobu (Nobuyoshi Nakada)

Updated by nobu (Nobuyoshi Nakada) about 11 years ago

  • Status changed from Feedback to Rejected

No feedback.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0