Now i t works all right. Thanks for your fast reply.
Claudio

----
Messaggio originale----
Da: [EMAIL PROTECTED]
Data: 21-set-2007 14.04
A: 
"[EMAIL PROTECTED]"<[EMAIL PROTECTED]>
Cc: <[email protected]>
Ogg: 
Re: [Bug-glpk] Compiling error

> When I compile glpk4.22 with VS.NET 
2003 on WinXP there is an
> error:
> xvprintf can't link vsnprintf. I 
didn't change source code

Thank you for the bug report.

It seems that 
vsnprintf is missing in your compiler library.

To fix the bug please 
replace the folliwing fragment in the routine
xvprintf (file glplib05.
c, lines 77-81):

#if 0
      vsprintf(buf, fmt, arg);
#else
      
vsnprintf(buf, sizeof(buf), fmt, arg);
#endif

by

#if 1
      vsprintf
(buf, fmt, arg);
#else
      vsnprintf(buf, sizeof(buf), fmt, arg);
#endif

and then rebuild the library.









_______________________________________________
Bug-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-glpk

Reply via email to