httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <>
Subject Re: Apache 1.1: Compiling under Digital Unix 3.2D (OSF/1)
Date Mon, 08 Jul 1996 16:21:01 GMT

Thanks. Our developers will investigate.


>There are two compiler warnings while compiling Apache 1.1 under Digital
>Unix (formerly DEC OSF/1).  Neither is of a great concern but they may
>worry users.
>cc -c -O2 -DSTATUS -DOSF1 buff.c
>/usr/lib/cmplrs/cc/cfe: Warning: buff.c, line 363: Incompatible pointer type assignment
>        x = memchr(fb->inptr, '\012', fb->incnt);
>        --^
>According to the man page:
>  void *memchr(
>          const void *s,
>          int c,
>          size_t n);
>  The memchr() function returns a pointer to character (byte) c in the string
>  pointed to by s.  If character c is not encountered after n bytes have been
>  copied to the string at location s, this function returns a null pointer.
>Even though it returns a character pointer, it's return is typecast to a
>void pointer.  
>cc -c -O2 -DSTATUS -DOSF1  http_bprintf.c
>/usr/lib/cmplrs/cc/cfe: Warning: http_bprintf.c, line 88: Long double not supported; double
>     long double lDoubleArg = 0.0;
> ----^

Rob Hartill (
The Internet Movie Database (IMDb)
           ...more movie info than you can poke a stick at.

View raw message