gnokii-users
[Top][All Lists]
Advanced

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

Re: define snprintf _snprintf is missing in compat.h


From: Pawel Kot
Subject: Re: define snprintf _snprintf is missing in compat.h
Date: Tue, 10 Jun 2008 07:51:24 +0200

Hi,

On Tue, Jun 10, 2008 at 05:45, yueyue papa <address@hidden> wrote:
> Current CVS code is unable to pass win32 platform build:

It is able. See http://opensource.contentbakery.fi/gnokii/Win32/

> RCS file: /sources/gnokii/gnokii/include/compat.h,v
> retrieving revision 1.65
> diff -r1.65 compat.h
> 236a237
>> #    define snprintf _snprintf

That's because MSVS does not provide NULL terminating snprintf()
variant. Use snprintf() definition from common/snprintf.c instead.

pkot
-- 
Alanis Morissette  - "We'll love you just the way you are if you're perfect."




reply via email to

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