Subject: vfprintf.c compile failure for alpha on i386
To: None <current-users@NetBSD.org>
From: Y. Takizawa <you@nightbreak.org>
List: current-users
Date: 01/08/2005 17:23:35
I got the following warning and error messages during cross-compile
"./build.sh -m alpha" on i386 and stopped to build, at today's cvs
updating sources to use anoncvs2.us:


lib/libc/stdio/vfprintf.c(337): warning: conversion from 'unsigned long' to 'int' may lose accuracy [132]
lib/libc/stdio/vfprintf.c(344): warning: conversion from 'long' to 'int' may lose accuracy [132]
lib/libc/stdio/vfprintf.c(540): cannot dereference non-pointer type [96]
lib/libc/stdio/vfprintf.c(542): cannot dereference non-pointer type [96]
lib/libc/stdio/vfprintf.c(544): cannot dereference non-pointer type [96]
lib/libc/stdio/vfprintf.c(546): cannot dereference non-pointer type [96]
lib/libc/stdio/vfprintf.c(548): cannot dereference non-pointer type [96]
lib/libc/stdio/vfprintf.c(550): cannot dereference non-pointer type [96]
lib/libc/stdio/vfprintf.c(552): cannot dereference non-pointer type [96]
lib/libc/stdio/vfprintf.c(577): warning: illegal combination of pointer and integer, op = [123]
lib/libc/stdio/vfprintf.c(588): warning: conversion from 'long' to 'int' may lose accuracy [132]
lib/libc/stdio/vfprintf.c(594): warning: conversion from 'unsigned long' to 'int' may lose accuracy [132]
lib/libc/stdio/vfprintf.c(667): warning: conversion from 'unsigned long' to 'int' may lose accuracy [132]
lib/libc/stdio/vfprintf.c(672): warning: conversion from 'long' to 'int' may lose accuracy [132]
lib/libc/stdio/vfprintf.c(836): warning: conversion from 'long' to 'int' may lose accuracy [132]
lib/libc/stdio/vfprintf.c(870): warning: conversion from 'long' to 'int' may lose accuracy [132]


I do not still try to build on alpha. Although I think it was
caused by stdarg changes, I have no idea to fix.

--
Y. Takizawa
you@nightbreak.org, takizawa@computer.org