gnokii-users
[Top][All Lists]
Advanced

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

Re: Mac OS X 10.2.1 - 6310i !(?)


From: Pawel Kot
Subject: Re: Mac OS X 10.2.1 - 6310i !(?)
Date: Tue, 22 Oct 2002 11:08:25 +0200

>>> address@hidden 22 October 2002 10:47:10 >>>
> On Tue, Oct 22, 2002 at 08:54:33AM +0200, Pawel Kot wrote:
> > > ld: warning multiple definitions of symbol _snprintf
> > > snprintf.o definition of _snprintf in section (__TEXT,__text)
> > > /usr/lib/libSystem.dylib(snprintf.So) definition of _snprintf
> > > ld: warning multiple definitions of symbol _vsnprintf
> > > snprintf.o definition of _vsnprintf in section (__TEXT,__text)
> > > /usr/lib/libSystem.dylib(vsnprintf.So) definition of _vsnprintf
> > 
> > And this is the weirdness. It should be detected by the configure.
Don't
> > you use configure?
> 
> If the system provided snprintf isn't perfect gnokii will use it's
own
> implementation.

So let's use gn_snprintf instead of snprintf. Let's make
#define gn_snprintf snprintf
in case when the sprintf is good and own implementation in the other
case.
Does it make sense? We'll avoid above problems in this approach.

pkot




reply via email to

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