You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rob Hartill <ro...@imdb.com> on 1996/07/08 18:21:01 UTC

Re: Apache 1.1: Compiling under Digital Unix 3.2D (OSF/1)

Thanks. Our developers will investigate.

regards,
rob

>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 assumed.
>     long double lDoubleArg = 0.0;
> ----^
>

-- 
Rob Hartill (robh@imdb.com)
The Internet Movie Database (IMDb)  http://www.imdb.com/
           ...more movie info than you can poke a stick at.