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/01/08 14:18:26 UTC

[BUILD] New warnings in mod_imap & mod_include.

This morning (EST) build notices these new warnings have
appeared.

on the Intel ...

> LOG Build: apachen intelnt ntl nt active 500 Thu Jan 8 04:24:31 EST 1998
> cl.exe /nologo /MD /W3 /GX /O2 /I ".\regex" /I ".\main" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /Fp".\CoreR\ApacheCore.pch" /YX /Fo".\CoreR\\" /Fd".\CoreR\\" /FD /c .\modules\standard\mod_include.c
> .\modules\standard\mod_include.c(##) : warning C4018: '==' : signed/unsigned mismatch
> .\modules\standard\mod_include.c(##) : warning C4018: '>' : signed/unsigned mismatch

on the SGI...

> LOG Build: apachen sgi india unix active 600 Thu Jan 8 05:15:01 EST 1998
< -rwxrwxr-x    1 bhyde    nuucp     867056 Jan  7  1998 httpd
> cc -c  -I../../regex -I../../os/unix -I../../main    -DIRIX -DSTATUS '-DHTTPD_ROOT="/tmp/httpd"'  mod_imap.c
> cfe: Warning 709: mod_imap.c, line 768: Incompatible pointer type assignment
>              if (pointinpoly(testpoint, pointarray)) {
>  ---------------------------------------^
> cfe: Warning 709: mod_imap.c, line 780: Incompatible pointer type assignment
>              if (pointincircle(testpoint, pointarray)) {
>  -----------------------------------------^
> cfe: Warning 709: mod_imap.c, line 792: Incompatible pointer type assignment
>              if (pointinrect(testpoint, pointarray)) {
>  ---------------------------------------^
> cfe: Warning 709: mod_imap.c, line 804: Incompatible pointer type assignment
>              if (is_closer(testpoint, pointarray, &closest_yet)) {
>  -------------------------------------^
> -rwxrwxr-x    1 bhyde    nuucp     859016 Jan  8  1998 httpd

The other platforms were unchanged.

The SGI was warning free before this, it still links.  The intel was
already not linking due to other problems.  The build summary shown
below. Full build logs for each platform can be seen at
http://www.geocities.com/Athens/4556/absum.html .

    - ben hyde
---
"Giving people the facts is an enterprise fraught with a suprising amount
of disappointment."
---
Summary of build of: apache_19980108080026.tar.gz
----------------------------------- logs/alphaosf.log -------------------------------
LOG Build: apachen alphaosf moscow unix active 1200 Thu Jan 8 04:27:03 EST 1998
LOG: uname -a:OSF1 moscow V3.2 148 alpha
 + configured for DEC OSF/1 platform
-rwxrwxr-x   1 bhyde    staff     999424 Jan  8  1998 httpd





----------------------------------- logs/hp9000s700.log -------------------------------
LOG Build: apachen hp9000s700 rwanda unix active 1200 Thu Jan 8 04:40:37 EST 1998
LOG: uname -a:HP-UX rwanda B.10.01 A 9000/710 2011145811 two-user license
 + configured for HP-UX 10 platform
gcc -c  -I../regex -I../os/unix -I../main    -DHPUX10 -DSTATUS '-DHTTPD_ROOT="/tmp/httpd"'  http_main.c
http_main.c: In function `lingering_close':
http_main.c:1155: warning: passing arg 2 of `select' from incompatible pointer type
http_main.c:1155: warning: passing arg 4 of `select' from incompatible pointer type
http_main.c: In function `probe_writable_fds':
http_main.c:1237: warning: passing arg 3 of `select' from incompatible pointer type
http_main.c: In function `child_main':
http_main.c:2948: warning: passing arg 2 of `select' from incompatible pointer type
gcc -c  -I../regex -I../os/unix -I../main    -DHPUX10 -DSTATUS '-DHTTPD_ROOT="/tmp/httpd"'  http_protocol.c
http_protocol.c: In function `send_fb_length':
http_protocol.c:1721: warning: passing arg 2 of `select' from incompatible pointer type
gcc -c  -I../regex -I../os/unix -I../main    -DHPUX10 -DSTATUS '-DHTTPD_ROOT="/tmp/httpd"'  buff.c
buff.c: In function `bhalfduplex':
buff.c:504: warning: passing arg 2 of `select' from incompatible pointer type
gcc -c  -I../../regex -I../../os/unix -I../../main    -DHPUX10 -DSTATUS '-DHTTPD_ROOT="/tmp/httpd"'  proxy_connect.c
proxy_connect.c: In function `proxy_connect_handler':
proxy_connect.c:209: warning: passing arg 2 of `select' from incompatible pointer type
-rwxrwxr-x   1 bhyde    staff     694364 Jan  8 04:52 httpd





----------------------------------- logs/hp9000s800.log -------------------------------
LOG Build: apachen hp9000s800 wy unix active 1200 Thu Jan 8 04:53:14 EST 1998
LOG: uname -a:HP-UX wy A.09.00 E 9000/835 12002161 8-user license
 + configured for HP-UX platform
cc -c  -I../regex -I../os/unix -I../main    -DHPUX -Aa -D_HPUX_SOURCE -DSTATUS '-DHTTPD_ROOT="/tmp/httpd"'  http_config.c
cc: "http_config.c", line 614: error 1527: Incompatible types in cast.
cc: "http_config.c", line 622: error 1527: Incompatible types in cast.
cc: "http_config.c", line 632: error 1527: Incompatible types in cast.
cc: "http_config.c", line 644: error 1527: Incompatible types in cast.
cc: "http_config.c", line 656: error 1527: Incompatible types in cast.
cc: "http_config.c", line 670: error 1527: Incompatible types in cast.
cc: "http_config.c", line 685: error 1527: Incompatible types in cast.
cc: "http_config.c", line 700: error 1527: Incompatible types in cast.
cc: "http_config.c", line 715: error 1527: Incompatible types in cast.
cc: "http_config.c", line 722: error 1527: Incompatible types in cast.
cc: "http_config.c", line 739: error 1527: Incompatible types in cast.
cc: "http_config.c", line 754: error 1527: Incompatible types in cast.
*** Error code 1

Stop.

Stop.
*** Error code 1
httpd not found





----------------------------------- logs/intelnt.log -------------------------------
LOG Build: apachen intelnt ntl nt active 500 Thu Jan 8 04:24:31 EST 1998
cl.exe @.\nma00320.
regcomp.c(1061) : warning C4018: '<' : signed/unsigned mismatch
regcomp.c(1092) : warning C4018: '<' : signed/unsigned mismatch
regcomp.c(1095) : warning C4018: '==' : signed/unsigned mismatch
regcomp.c(1119) : warning C4018: '<' : signed/unsigned mismatch
regcomp.c(1139) : warning C4018: '<' : signed/unsigned mismatch
regerror.c
regexec.c
engine.c(152) : warning C4018: '<=' : signed/unsigned mismatch
engine.c(209) : warning C4018: '<' : signed/unsigned mismatch
engine.c(210) : warning C4018: '<=' : signed/unsigned mismatch
engine.c(152) : warning C4018: '<=' : signed/unsigned mismatch
engine.c(209) : warning C4018: '<' : signed/unsigned mismatch
engine.c(210) : warning C4018: '<=' : signed/unsigned mismatch
regfree.c
cl.exe @.\nma00290.
ap_snprintf.c
ap_strings.c
cd ..
del CoreR\buildmark.obj
The system cannot find the file specified.
cl.exe /nologo /MD /W3 /GX /O2 /I ".\regex" /I ".\main" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /Fp".\CoreR\ApacheCore.pch" /YX /Fo".\CoreR\\" /Fd".\CoreR\\" /FD /c .\main\md5c.c
md5c.c
cl.exe /nologo /MD /W3 /GX /O2 /I ".\regex" /I ".\main" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /Fp".\CoreR\ApacheCore.pch" /YX /Fo".\CoreR\\" /Fd".\CoreR\\" /FD /c .\modules\standard\mod_include.c
.\modules\standard\mod_include.c(447) : warning C4018: '==' : signed/unsigned mismatch
.\modules\standard\mod_include.c(538) : warning C4018: '>' : signed/unsigned mismatch
cl.exe /nologo /MD /W3 /GX /O2 /I ".\regex" /I ".\main" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /Fp".\CoreR\ApacheCore.pch" /YX /Fo".\CoreR\\" /Fd".\CoreR\\" /FD /c .\modules\standard\mod_negotiation.c
.\modules\standard\mod_negotiation.c(374) : warning C4244: '=' : conversion from 'double ' to 'float ', possible loss of data
.\modules\standard\mod_negotiation.c(378) : warning C4244: '=' : conversion from 'double ' to 'float ', possible loss of data
.\modules\standard\mod_negotiation.c(381) : warning C4244: '=' : conversion from 'double ' to 'float ', possible loss of data
.\modules\standard\mod_negotiation.c(744) : warning C4244: '=' : conversion from 'double ' to 'float ', possible loss of data
cl.exe /nologo /MD /W3 /GX /O2 /I ".\regex" /I ".\main" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /Fp".\CoreR\ApacheCore.pch" /YX /Fo".\CoreR\\" /Fd".\CoreR\\" /FD /c .\main\rfc1413.c
rfc1413.c
cl.exe /nologo /MD /W3 /GX /O2 /I ".\regex" /I ".\main" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /Fp".\CoreR\ApacheCore.pch" /YX /Fo".\CoreR\\" /Fd".\CoreR\\" /FD /c .\os\win32\service.c
.\os\win32\service.c(148) : warning C4013: 'start_shutdown' undefined; assuming extern returning int
cl.exe /nologo /MD /W3 /GX /O2 /I ".\regex" /I ".\main" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /Fp".\CoreR\ApacheCore.pch" /YX /Fo".\CoreR\\" /Fd".\CoreR\\" /FD /c .\main\util_md5.c
util_md5.c
cl.exe /nologo /MD /W3 /GX /O2 /I ".\regex" /I ".\main" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /Fp".\CoreR\ApacheCore.pch" /YX /Fo".\CoreR\\" /Fd".\CoreR\\" /FD /c .\os\win32\util_win32.c
util_win32.c
   Creating library .\CoreR\ApacheCore.lib and object .\CoreR\ApacheCore.exp
LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use /NODEFAULTLIB:library
cl.exe /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /Fp".\ApacheR\Apache.pch" /YX /Fo".\ApacheR\\" /Fd".\ApacheR\\" /FD /c .\os\win32\main_win32.c
main_win32.c
cl.exe /nologo /MD /W3 /GX /O2 /I "..\..\regex" /I "..\..\main" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /Fp".\ApacheModuleStatusR\ApacheModuleStatus.pch" /YX /Fo".\ApacheModuleStatusR\\" /Fd".\ApacheModuleStatusR\\" /FD /c ..\..\modules\standard\mod_status.c
..\..\modules\standard\mod_status.c(367) : warning C4244: 'function' : conversion from 'float ' to 'unsigned long ', possible loss of data
..\..\modules\standard\mod_status.c(372) : warning C4244: 'function' : conversion from 'float ' to 'unsigned long ', possible loss of data
cl.exe @.\nma00148.
proxy_cache.c
proxy_cache.c(192) : warning C4018: '<' : signed/unsigned mismatch
proxy_cache.c(192) : warning C4018: '<=' : signed/unsigned mismatch
proxy_cache.c(220) : warning C4018: '<' : signed/unsigned mismatch
proxy_cache.c(220) : warning C4018: '<=' : signed/unsigned mismatch
proxy_cache.c(884) : warning C4018: '!=' : signed/unsigned mismatch
proxy_connect.c
proxy_connect.c(151) : warning C4761: integral size mismatch in argument; conversion supplied
proxy_connect.c(151) : warning C4761: integral size mismatch in argument; conversion supplied
proxy_ftp.c
proxy_ftp.c(270) : warning C4018: '!=' : signed/unsigned mismatch
proxy_ftp.c(515) : warning C4761: integral size mismatch in argument; conversion supplied
proxy_http.c
proxy_http.c(216) : warning C4761: integral size mismatch in argument; conversion supplied
proxy_http.c(222) : warning C4761: integral size mismatch in argument; conversion supplied
proxy_util.c
proxy_util.c(157) : warning C4761: integral size mismatch in argument; conversion supplied
proxy_util.c(167) : warning C4761: integral size mismatch in argument; conversion supplied
proxy_util.c(174) : warning C4761: integral size mismatch in argument; conversion supplied
cd ..\..






----------------------------------- logs/mips.log -------------------------------
LOG Build: apachen mips th unix active 1200 Thu Jan 8 04:59:22 EST 1998
LOG: uname -a:ULTRIX th 4.1 0 RISC
 + configured for ULTRIX platform
gcc -c  -I../regex -I../os/unix -I../main    -DULTRIX -DSTATUS '-DHTTPD_ROOT="/tmp/httpd"'  alloc.c
alloc.c: In function `pfopen':
alloc.c:1048: warning: passing arg 2 of `fdopen' discards `const' from pointer target type
alloc.c: In function `pfdopen':
alloc.c:1066: warning: passing arg 2 of `fdopen' discards `const' from pointer target type
gcc -c  -I../../regex -I../../os/unix -I../../main    -DULTRIX -DSTATUS '-DHTTPD_ROOT="/tmp/httpd"'  mod_autoindex.c
mod_autoindex.c: In function `index_directory':
mod_autoindex.c:1103: warning: passing arg 4 of `qsort' from incompatible pointer type
gcc -c  -I../../regex -I../../os/unix -I../../main    -DULTRIX -DSTATUS '-DHTTPD_ROOT="/tmp/httpd"'  proxy_cache.c
proxy_cache.c: In function `proxy_cache_update':
proxy_cache.c:846: warning: assignment makes pointer from integer without a cast
-rwxrwxr-x  1 bhyde      961600 Jan  8 05:14 httpd





----------------------------------- logs/sgi.log -------------------------------
LOG Build: apachen sgi india unix active 600 Thu Jan 8 05:15:01 EST 1998
LOG: uname -a:IRIX india 5.2 02282013 IP12 mips
 + configured for SGI IRIX platform
cc -c  -I../../regex -I../../os/unix -I../../main    -DIRIX -DSTATUS '-DHTTPD_ROOT="/tmp/httpd"'  mod_imap.c
cfe: Warning 709: mod_imap.c, line 768: Incompatible pointer type assignment
             if (pointinpoly(testpoint, pointarray)) {
 ---------------------------------------^
cfe: Warning 709: mod_imap.c, line 780: Incompatible pointer type assignment
             if (pointincircle(testpoint, pointarray)) {
 -----------------------------------------^
cfe: Warning 709: mod_imap.c, line 792: Incompatible pointer type assignment
             if (pointinrect(testpoint, pointarray)) {
 ---------------------------------------^
cfe: Warning 709: mod_imap.c, line 804: Incompatible pointer type assignment
             if (is_closer(testpoint, pointarray, &closest_yet)) {
 -------------------------------------^
-rwxrwxr-x    1 bhyde    nuucp     859016 Jan  8  1998 httpd





----------------------------------- logs/sparcsol.log -------------------------------
LOG Build: apachen sparcsol ontario unix active 1200 Thu Jan 8 04:13:05 EST 1998
LOG: uname -a:Log: working in /home/bhyde/junk/scratch/10793 aka: /tmp_mnt/home/bhyde/junk/scratch/10793
 + configured for Solaris 250 platform
-rwxrwxr-x   1 bhyde      622212 Jan  8 04:23 httpd





----------------------------------- logs/sun4.log -------------------------------
LOG Build: apachen sun4 bal unix active 1200 Thu Jan 8 05:27:14 EST 1998
LOG: uname -a:SunOS baltimore 4.1.4 4 sun4m
 + configured for SunOS 4 platform
-rwxrwxr-x  1 bhyde      663552 Jan  8 05:36 httpd






Re: [BUILD] New warnings in mod_imap & mod_include.

Posted by Ben Hyde <bh...@pobox.com>.
>On Thu, 8 Jan 1998, Ben Hyde wrote:
>> http://www.geocities.com/Athens/4556/absum.html .
>
>That link doesn't work.
>
>Dean

Bah!  Sorry! abindex.html or absum.txt work.

 - ben
---
"Does opinion rise in emotion or reason?"



Re: [BUILD] New warnings in mod_imap & mod_include.

Posted by Dean Gaudet <dg...@arctic.org>.

On Thu, 8 Jan 1998, Ben Hyde wrote:

> This morning (EST) build notices these new warnings have
> appeared.
> 
> on the Intel ...
> 
> > LOG Build: apachen intelnt ntl nt active 500 Thu Jan 8 04:24:31 EST 1998
> > cl.exe /nologo /MD /W3 /GX /O2 /I ".\regex" /I ".\main" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /Fp".\CoreR\ApacheCore.pch" /YX /Fo".\CoreR\\" /Fd".\CoreR\\" /FD /c .\modules\standard\mod_include.c
> > .\modules\standard\mod_include.c(##) : warning C4018: '==' : signed/unsigned mismatch
> > .\modules\standard\mod_include.c(##) : warning C4018: '>' : signed/unsigned mismatch

What's up with the lack of line numbers?

> on the SGI...
> 
> > LOG Build: apachen sgi india unix active 600 Thu Jan 8 05:15:01 EST 1998
> < -rwxrwxr-x    1 bhyde    nuucp     867056 Jan  7  1998 httpd
> > cc -c  -I../../regex -I../../os/unix -I../../main    -DIRIX -DSTATUS '-DHTTPD_ROOT="/tmp/httpd"'  mod_imap.c
> > cfe: Warning 709: mod_imap.c, line 768: Incompatible pointer type assignment
> >              if (pointinpoly(testpoint, pointarray)) {
> >  ---------------------------------------^
> > cfe: Warning 709: mod_imap.c, line 780: Incompatible pointer type assignment
> >              if (pointincircle(testpoint, pointarray)) {
> >  -----------------------------------------^
> > cfe: Warning 709: mod_imap.c, line 792: Incompatible pointer type assignment
> >              if (pointinrect(testpoint, pointarray)) {
> >  ---------------------------------------^
> > cfe: Warning 709: mod_imap.c, line 804: Incompatible pointer type assignment
> >              if (is_closer(testpoint, pointarray, &closest_yet)) {
> >  -------------------------------------^
> > -rwxrwxr-x    1 bhyde    nuucp     859016 Jan  8  1998 httpd

You know, this has got to be lameness in the compiler.  For example:

static int pointinpoly(const double point[2], const double pgon[MAXVERTS][2])

is how it's declared.  And pointarray is declared:

    double pointarray[MAXVERTS + 1][2];

But maybe I have the semantics subtly wrong.  Can someone with IRIX access
try this declaration for pointinpoly:

static int pointinpoly(const double point[2], double (const * pgon)[2])

I'm willing to ditch the const qualifier anyway.  It was most useful for
determining where in the code I had to look for array overflows.

> http://www.geocities.com/Athens/4556/absum.html .

That link doesn't work.

Dean