snprintf is declared in <stdio.h> in hpux11.00 .
snprintf and vsnprintf are present in /lib/libc.a on hpux10.20, but don't
seem to be declared
in any header files in /usr/include. Conceivably providing appropriate
declarations on
10.20 would allow snprintf to be used.
Dom Lachowicz <[EMAIL PROTECTED]>@abisource.com on 12/10/2001
03:04:27
Sent by: [EMAIL PROTECTED]
To: "Gansser, Martin" <[EMAIL PROTECTED]>
cc: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
Subject: Re: `snprintf' undeclared (first use this function) on hp-ux
10.20
Quoting "Gansser, Martin" <[EMAIL PROTECTED]>:
> 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: ----------------------------------------------------------------------