bug-glpk
[Top][All Lists]
Advanced

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

R: Re: [Bug-glpk] Compiling error


From: address@hidden
Subject: R: Re: [Bug-glpk] Compiling error
Date: Sat, 22 Sep 2007 17:53:39 +0400

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

----
Messaggio originale----
Da: address@hidden
Data: 21-set-2007 14.04
A: 
"address@hidden"<address@hidden>
Cc: <address@hidden>
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.











reply via email to

[Prev in Thread] Current Thread [Next in Thread]