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 <ha...@ooo.lanl.gov> on 1996/07/02 00:53:07 UTC

NeXT and mod_proxy.c

I was just seeing how far 1.1b5 would get with NeXT..

(please don't shoot the messenger).

cc -c -O2 -DNEXT mod_proxy.c
mod_proxy.c: In function `sub_garbage_coll':
mod_proxy.c:1406: warning: assignment from incompatible pointer type
mod_proxy.c:1408: invalid use of undefined type `struct dirent'
mod_proxy.c:1408: dereferencing pointer to incomplete type
mod_proxy.c:1409: invalid use of undefined type `struct dirent'
mod_proxy.c:1409: dereferencing pointer to incomplete type
mod_proxy.c:1412: invalid use of undefined type `struct dirent'
mod_proxy.c:1412: dereferencing pointer to incomplete type
mod_proxy.c:1453: invalid use of undefined type `struct dirent'
mod_proxy.c:1453: dereferencing pointer to incomplete type
mod_proxy.c:1456: invalid use of undefined type `struct dirent'
mod_proxy.c:1456: dereferencing pointer to incomplete type
mod_proxy.c:1505: invalid use of undefined type `struct dirent'
mod_proxy.c:1505: dereferencing pointer to incomplete type
mod_proxy.c: In function `host2addr':
mod_proxy.c:2209: warning: passing arg 1 of `gethostbyname' discards `const' from pointer target type
mod_proxy.c:2214: warning: passing arg 1 of `inet_addr' discards `const' from pointer target type
mod_proxy.c: In function `ftp_handler':
mod_proxy.c:2360: warning: passing arg 4 of `setsockopt' discards `const' from pointer target type
mod_proxy.c:2473: warning: passing arg 4 of `setsockopt' discards `const' from pointer target type
*** Exit 1



rob

Re: NeXT and mod_proxy.c

Posted by Brian Behlendorf <br...@organic.com>.
Ah well.  If everything else compiles fine, I can live with a "warning,
mod_proxy known to not compile on a NeXT" warning in Configuration.tmpl,
and a solicitation somewhere for help from a NeXT person.

	Brian

On Mon, 1 Jul 1996, Rob Hartill wrote:
> I was just seeing how far 1.1b5 would get with NeXT..
> 
> (please don't shoot the messenger).
> 
> cc -c -O2 -DNEXT mod_proxy.c
> mod_proxy.c: In function `sub_garbage_coll':
> mod_proxy.c:1406: warning: assignment from incompatible pointer type
> mod_proxy.c:1408: invalid use of undefined type `struct dirent'
> mod_proxy.c:1408: dereferencing pointer to incomplete type
> mod_proxy.c:1409: invalid use of undefined type `struct dirent'
> mod_proxy.c:1409: dereferencing pointer to incomplete type
> mod_proxy.c:1412: invalid use of undefined type `struct dirent'
> mod_proxy.c:1412: dereferencing pointer to incomplete type
> mod_proxy.c:1453: invalid use of undefined type `struct dirent'
> mod_proxy.c:1453: dereferencing pointer to incomplete type
> mod_proxy.c:1456: invalid use of undefined type `struct dirent'
> mod_proxy.c:1456: dereferencing pointer to incomplete type
> mod_proxy.c:1505: invalid use of undefined type `struct dirent'
> mod_proxy.c:1505: dereferencing pointer to incomplete type
> mod_proxy.c: In function `host2addr':
> mod_proxy.c:2209: warning: passing arg 1 of `gethostbyname' discards `const' from pointer target type
> mod_proxy.c:2214: warning: passing arg 1 of `inet_addr' discards `const' from pointer target type
> mod_proxy.c: In function `ftp_handler':
> mod_proxy.c:2360: warning: passing arg 4 of `setsockopt' discards `const' from pointer target type
> mod_proxy.c:2473: warning: passing arg 4 of `setsockopt' discards `const' from pointer target type
> *** Exit 1
> 
> 
> 
> rob
> 
> 

--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@organic.com  www.apache.org  hyperreal.com  http://www.organic.com/JOBS