Re: [AD] Allegro 4.9.20 + MSVS 9

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2010-04-02, John Murphy <wonsungi@xxxxxxxxxx> wrote:
> Hello,
> 
> I've compiled the latest version of Allegro 4.9.20 with MSVC Express 2008.
> Just sharing my results and a suggestion. Great work you guys!
> 
> *Link error: *There is a linker error with _vsprintf, but vsnprintf works OK
> *
> *
> I had to make a small change to demos/speed/a4_aux.c:
> -#if defined(__WATCOMC__) || defined(_MSC_VER)
> +#if defined(__WATCOMC__) // || defined(_MSC_VER)

Thanks.  I changed it now to use _vsnprintf instead, which was the
actual intention.  I didn't use vsnprintf for MSVC because older
versions might not have it.

Peter




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/