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

Re: alpha/sid machine available?



On Sat, Dec 15, 2001 at 12:56:25PM -0500, Steve M. Robbins wrote:
: 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!

Yes, thanks a bunch, both of you.  I've commited the new test to CVS.

: 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.

We're actually considdering snarfing a complete snprintf implementation to
get around all the troubles it has caused.  Haven't gone there yet though,
and right now it's a bit down on the priority list.

  Lars J



Reply to: