[Top][All Lists]

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

[Varnamproject-discuss] [bug #41252] [libvarnam] Remove snprintf defines

From: Navaneeth
Subject: [Varnamproject-discuss] [bug #41252] [libvarnam] Remove snprintf defines
Date: Thu, 20 Mar 2014 04:43:24 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:27.0) Gecko/20100101 Firefox/27.0

Follow-up Comment #2, bug #41252 (project varnamproject):

Varnam uses a portable snprintf implementation available at

To maintain compatibility with platforms which has snprintf, the authors of
that library decided to use some MACROS which can be used to toggle the
portable snprintf implementation. So systems which has support for it can just
use the system version and those who don't will get the portable

Now this requires you define some MACROS while compile programs which uses
Varnam. We don't have to expose this because this is libvarnam's
implementation detail. 

Try running 

pkg-config --cflags varnam

Which will give you an output like,


This bug talks about removing the HAVE_SNPRINTF and other snprintf related
defines so that everyone who needs to use varnam need not define all these.
You can't simply remove it because they are in use. So need to find out places
where this is in use, define these manually in the compilation unit and remove
it from pkg-config flags. 


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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