Subject: Re: `snprintf' undeclared (first use this function) on hp-ux 10.20
rbrown64@csc.com.au
Date: Thu Oct 11 2001 - 19:40:20 CDT
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 <dominicl@seas.upenn.edu>@abisource.com on 12/10/2001
03:04:27
Sent by: owner-abiword-dev@abisource.com
To: "Gansser, Martin" <MGansser@rand.de>
cc: "'abiword-dev@abisource.com'" <abiword-dev@abisource.com>
Subject: Re: `snprintf' undeclared (first use this function) on hp-ux
10.20
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 - 19:44:30 CDT