You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Ben Hyde <bh...@gensym.com> on 1998/02/21 21:59:08 UTC

re: new warning

Yes, that helps. - ben hyde

try Dean's fix.

bhyde:hp9000s800:wy:~/src/pserv/apache-1.3/src/main:54> sed 's/*cmd->func/cmd->func/' http_config.c > foo.c

See if it works. 
bhyde:hp9000s800:wy:~/src/pserv/apache-1.3/src/main:55> !cc
cc -c -I../os/unix -I../include -DHPUX -Aa -D_HPUX_SOURCE -DSTATUS -DUSE_HSREGEX
'-DHTTPD_ROOT="/tmp/httpd"' foo.c 

Check that it was previously broken.

bhyde:hp9000s800:wy:~/src/pserv/apache-1.3/src/main:56> ^foo^http_config^
cc -c -I../os/unix -I../include -DHPUX -Aa -D_HPUX_SOURCE -DSTATUS -DUSE_HSREGEX '-DHTTPD_ROOT="/tmp/httpd"' http_config.c 
cc: "http_config.c", line 622: error 1527: Incompatible types in cast.
cc: "http_config.c", line 630: error 1527: Incompatible types in cast.
cc: "http_config.c", line 640: error 1527: Incompatible types in cast.
cc: "http_config.c", line 652: error 1527: Incompatible types in cast.
cc: "http_config.c", line 664: error 1527: Incompatible types in cast.
cc: "http_config.c", line 678: error 1527: Incompatible types in cast.
cc: "http_config.c", line 693: error 1527: Incompatible types in cast.
cc: "http_config.c", line 708: error 1527: Incompatible types in cast.
cc: "http_config.c", line 723: error 1527: Incompatible types in cast.
cc: "http_config.c", line 730: error 1527: Incompatible types in cast.
cc: "http_config.c", line 747: error 1527: Incompatible types in cast.
cc: "http_config.c", line 762: error 1527: Incompatible types in cast.