Re: `snprintf' undeclared (first use this function) on hp-ux 10.20


Subject: Re: `snprintf' undeclared (first use this function) on hp-ux 10.20
From: Dom Lachowicz (dominicl@seas.upenn.edu)
Date: Thu Oct 11 2001 - 12:04:27 CDT


Quoting "Gansser, Martin" <MGansser@rand.de>:

> xap_EncodingManager.cpp:936: `snprintf' undeclared (first use this
> function)
> xap_EncodingManager.cpp:936: (Each undeclared identifier is reported
> only
> once
> for each function it appears in.)
> gmake[4]: ***

If you go get CVS head sources, this should be corrected, though I don't know
why snprintf isn't installed on your system, and this will probably cause you
more problems later... It *should* be in /usr/include/stdio.h on any sane
system. I used UT_String instead of snprintf, and *not* sprintf.

For good measure, I also ABI_EXPORTed all of the string functions so that they
can be used in win32 plugins.

Dom

CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: src/af/util/xp/ut_string.h
CVS: src/af/xap/xp/xap_EncodingManager.cpp
CVS: ----------------------------------------------------------------------



This archive was generated by hypermail 2b25 : Thu Oct 11 2001 - 12:04:34 CDT