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

janosvm error



> Hi,

hi

> After I configure the Kaffe in JanosVM with './configure --prefix=3D =
> /home/ ~ /JanosVM/kaffe \--disable-gcj
> and 'make' it. It showed in the following. ( sorry ~  it is copious. )

> logger.c: In function `addLogEntryV':
> logger.c:428: `char' is promoted to `int' when passed through `...'
> logger.c:428: (so you should pass `int' not `char' to `va_arg')
> logger.c:431: `char' is promoted to `int' when passed through `...'

Just change the lines listed so that they pass int instead of char to
va_arg(), like:

  lea->value.b = va_arg(args, int);

hopefully that helps

>                    Meng-Chun.

tim




[ Janos ] [ OSKit ] [ Network Testbed ] [ Flick ] [ Fluke ]
Flux Research Group / Department of Computer Science / University of Utah