httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Behlendorf <br...@organic.com>
Subject Re: -Wall police is back
Date Mon, 23 Sep 1996 03:06:29 GMT
On Sun, 15 Sep 1996 rasmus@vex.net wrote:
> I thought we all agreed to use -Wall?  A couple of obvious ones have
> snuck into the code tree:

I'll add one:

  gcc -c   -O2 -DSTATUS -Wall  http_core.c
  http_core.c:941: warning: `no_set_limit' defined but not used

> gcc -c   -O2 -Wall -DLINUX -DSTATUS   http_config.c
> http_config.c: In function `init_virtual_host':
> http_config.c:759: warning: unused variable `t'

I have now fixed this.  

> gcc -c   -O2 -Wall -DLINUX -DSTATUS   http_protocol.c
> http_protocol.c: In function `set_byterange':
> http_protocol.c:232: warning: long unsigned int format, unsigned int arg (arg4)

Weird, I saw it elsewhere:

  gcc -c   -O2 -DSTATUS -Wall  http_protocol.c
  http_protocol.c: In function `set_last_modified':
  http_protocol.c:351: warning: long unsigned int format, different type arg (arg 4)

I personally don't know how to fix this, someone else want to?

	Brian

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


Mime
View raw message