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
|