[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: [Fwd: Bug#1823: Compilation error with 1.1.2pre3 for
From: Harri Porten <porten () tu-harburg ! de>
Date: 1999-08-26 18:31:30
[Download RAW message or body]
For those who don't follow kde-bugs-dist:
Stefan Becker wrote:
>
> package: kdecore
> version: 1.1.2pre3
>
> kdecore/kdebug.cpp uses vsnprintf() and there is also a configure check
> for it, but unfortunately the HP-UX 10.20 C library contains the
> function, but it is not documented. Thus the autoconf check succeeds,
> but the compilation fails.
>
> I have used the following patch to work around the problem:
>
> ------------------------- Cut Here ---------------------------------
> --- kdelibs-1.1.2pre3/kdecore/kdebug.cpp~ Mon Apr 19 18:00:11 1999
> +++ kdelibs-1.1.2pre3/kdecore/kdebug.cpp Thu Aug 26 16:53:28 1999
> @@ -36,6 +36,11 @@
> #include <config.h>
> #endif
>
> +#if defined(HAVE_VSNPRINTF) && defined(_HPUX_SOURCE)
> +/* HP-UX 10's C library has vsnprintf(), but it's not documented :-( */
> +int vsnprintf(char *s, size_t n, const char *format, va_list ap);
> +#endif
> +
> class KDebugEntry
> {
> public:
> ------------------------- Cut Here ---------------------------------
>
> BTW: This still compiled fine in 1.1.2pre...
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic