You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rasmus Lerdorf <ra...@lerdorf.on.ca> on 1997/09/17 05:56:22 UTC

Some Irix issues

This is for a "just checked out" apachen cvs tree using the native SGI cc
with WANTHSREGEX set to "yes".

I had to fiddle with the Makefile and add a -I.../os/unix because conf.h
tries to include os.h and os.h is nowhere near an include path.

and some warnings:

"http_protocol.c", line 302: warning(1184): possible use of "=" where "=="
was intended
           ((r->proto_num >= 1001) && (r->chunked = 1))) &&

(and lots of the following:)

"engine.c", line 596: warning(1110): statement is unreachable
                break;
                ^

cc -n32   -o httpd buildmark.o modules.o modules/standard/libstandard.a
main/libmain.a /usr/local/src/apachen/src/os/unix/libos.a regex/libregex.a  
ld32: WARNING 84: /usr/local/src/apachen/src/os/unix/libos.a is not used
for resolving any symbol.

Binary seems to work fine.

-Rasmus


Re: Some Irix issues

Posted by Dean Gaudet <dg...@arctic.org>.
Nothing to worry about.

Unfortunately there's no way to disable these warnings.

Dean

On Tue, 16 Sep 1997, Rasmus Lerdorf wrote:

> This is for a "just checked out" apachen cvs tree using the native SGI cc
> with WANTHSREGEX set to "yes".
> 
> I had to fiddle with the Makefile and add a -I.../os/unix because conf.h
> tries to include os.h and os.h is nowhere near an include path.
> 
> and some warnings:
> 
> "http_protocol.c", line 302: warning(1184): possible use of "=" where "=="
> was intended
>            ((r->proto_num >= 1001) && (r->chunked = 1))) &&

This is documented in comments above it.

> 
> (and lots of the following:)
> 
> "engine.c", line 596: warning(1110): statement is unreachable
>                 break;
>                 ^
> 
> cc -n32   -o httpd buildmark.o modules.o modules/standard/libstandard.a
> main/libmain.a /usr/local/src/apachen/src/os/unix/libos.a regex/libregex.a  
> ld32: WARNING 84: /usr/local/src/apachen/src/os/unix/libos.a is not used
> for resolving any symbol.
> 
> Binary seems to work fine.
> 
> -Rasmus
> 
>