зеркало из https://github.com/github/ruby.git
* dln.c, eval.c, gc.c, ruby.h: shut up AIX alloca warning.
[ruby-dev:29191] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
2104a366f6
Коммит
275f12623d
|
@ -1,3 +1,8 @@
|
||||||
|
Mon Aug 7 12:05:28 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
|
* dln.c, eval.c, gc.c, ruby.h: shut up AIX alloca warning.
|
||||||
|
[ruby-dev:29191]
|
||||||
|
|
||||||
Sun Aug 6 20:34:24 2006 Tadayoshi Funaba <tadf@dotrb.org>
|
Sun Aug 6 20:34:24 2006 Tadayoshi Funaba <tadf@dotrb.org>
|
||||||
|
|
||||||
* lib/date/format.rb (str[fp]time): %[EO]U didn't denote %U.
|
* lib/date/format.rb (str[fp]time): %[EO]U didn't denote %U.
|
||||||
|
|
4
dln.c
4
dln.c
|
@ -27,10 +27,6 @@
|
||||||
char *dln_argv0;
|
char *dln_argv0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _AIX
|
|
||||||
#pragma alloca
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(HAVE_ALLOCA_H)
|
#if defined(HAVE_ALLOCA_H)
|
||||||
#include <alloca.h>
|
#include <alloca.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
4
eval.c
4
eval.c
|
@ -53,9 +53,7 @@
|
||||||
# ifdef HAVE_ALLOCA_H
|
# ifdef HAVE_ALLOCA_H
|
||||||
# include <alloca.h>
|
# include <alloca.h>
|
||||||
# else
|
# else
|
||||||
# ifdef _AIX
|
# ifndef _AIX
|
||||||
#pragma alloca
|
|
||||||
# else
|
|
||||||
# ifndef alloca /* predefined by HP cc +Olibcalls */
|
# ifndef alloca /* predefined by HP cc +Olibcalls */
|
||||||
void *alloca ();
|
void *alloca ();
|
||||||
# endif
|
# endif
|
||||||
|
|
4
gc.c
4
gc.c
|
@ -51,9 +51,7 @@ int rb_io_fptr_finalize(struct OpenFile*);
|
||||||
# ifdef HAVE_ALLOCA_H
|
# ifdef HAVE_ALLOCA_H
|
||||||
# include <alloca.h>
|
# include <alloca.h>
|
||||||
# else
|
# else
|
||||||
# ifdef _AIX
|
# ifndef _AIX
|
||||||
#pragma alloca
|
|
||||||
# else
|
|
||||||
# ifndef alloca /* predefined by HP cc +Olibcalls */
|
# ifndef alloca /* predefined by HP cc +Olibcalls */
|
||||||
void *alloca ();
|
void *alloca ();
|
||||||
# endif
|
# endif
|
||||||
|
|
4
ruby.h
4
ruby.h
|
@ -79,11 +79,11 @@ extern "C" {
|
||||||
|
|
||||||
#if defined(HAVE_ALLOCA_H)
|
#if defined(HAVE_ALLOCA_H)
|
||||||
#include <alloca.h>
|
#include <alloca.h>
|
||||||
#endif
|
#else
|
||||||
|
|
||||||
# ifdef _AIX
|
# ifdef _AIX
|
||||||
#pragma alloca
|
#pragma alloca
|
||||||
# endif
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(__VMS)
|
#if defined(__VMS)
|
||||||
# pragma builtins
|
# pragma builtins
|
||||||
|
|
Загрузка…
Ссылка в новой задаче