[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-devel:14520] Re: parse error Xmu/Editres.h



From: MINAMI Hirokazu <minami@xxxxxxxxxxxxxxxxxxxx>
Subject: [debian-devel:14518] Re: parse error Xmu/Editres.h
Date: Wed, 22 Aug 2001 20:00:53 +0900

> On Wed, 22 Aug 2001 09:39:15 +0900
> Atsuhito Kohda <kohda@xxxxxxxxxxxxxxxxxxxx> wrote:
> 
> >ここは通ったのですが PowerPC では
> > 
> > menu.o: In function `CreateMenu':
> > menu.o(.text+0x114): undefined reference to `__va_arg_type_violation'
> > menu.o(.text+0x114): relocation truncated to fit: R_PPC_REL24 __va_arg_type_violation
> > collect2: ld returned 1 exit status
> 
> stdarg.h には
> /* Note that the type used in va_arg is supposed to match the
>    actual type **after default promotions**.
>    Thus, va_arg (..., short) is not valid.  */
> と書かれているので、char ではなく int にするというのでどうでしょう。

有り難うございます、これで無事 build できました。

# 1.4 が出てましたが直ってないみたいでした。。。

			   平成13年8月23日(木)
-- 
 ***************************
 香田 温人(こうだ あつひと)
 http://www1.pm.tokushima-u.ac.jp/%7Ekohda/