At 3:00 PM +0100 1/18/01, Jean-Marc Lasgouttes wrote:
> >>>>> "Klaus" == Klaus Dittrich <[EMAIL PROTECTED]> writes:
>
>Klaus> OS: hpux-10.20 with both aCC an gcc-2.75.2 installed. I tried
>Klaus> to get lyx-1.16 up, here my expieriences ..
>
>Klaus> In ./src/support/fmt.C ----------------------- I had to insert
>Klaus> the declaration of vsnprintf in string fmt(char const * fmtstr
>Klaus> ...) extern int vsnprintf(char *, size_t, const char *,
>Klaus> va_list); to get it compiled. Seems configure doesn't configure
>Klaus> HAVE_SNPRINTF properly.
>
>Where is vsnprintf defined in HP-UX headers? I do not understand why
>the configure test compiles correctly, but not the fmt.C file.
>
>JMarc

With gcc, vsnprintf is defined in the file libioP.h:

extern int _IO_vsnprintf __P ((char *string, _IO_size_t maxlen,
                               __const char *format, _IO_va_list args));

Bruce

Reply via email to