Re: alpha/sid machine available?
Hello,
On Sat, Dec 15, 2001 at 05:35:49PM +0100, Falk Hueffner wrote:
> "Steve M. Robbins" <steven.robbins@videotron.ca> writes:
>
> > Hi,
> >
> > I'd like to understand why coin failed to build on alpha
> >
> > http://buildd.debian.org/fetch.php?&pkg=coin&ver=1.0.1-1&arch=alpha&stamp=1008211606&file=log&as=raw
>
> It misdetects vsnprintf. It tries to compile
>
> (void)vsnprintf(0L, 0, 0L, 0L);
>
> which yields
>
> conversion from `long int' to non-scalar type `__gnuc_va_list' requested
>
> A correct test would be:
>
> #include <stdarg.h>
> va_list args;
> (void) vsnprintf(NULL, (size_t) 0, NULL, args);
>
> Falk
Thanks very much Falk!
Lars: there is also a macro for vsnprintf() at
http://ac-archive.sourceforge.net/C_Support/ac_func_vsnprintf.html
that you might consider snarfing.
-Steve
--
by Rocket to the Moon,
by Airplane to the Rocket,
by Taxi to the Airport,
by Frontdoor to the Taxi,
by throwing back the blanket and laying down the legs ...
- They Might Be Giants
Reply to: