httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: Build of apache_19971016130014
Date Tue, 21 Oct 1997 05:54:34 GMT


On Thu, 16 Oct 1997, Ben Hyde wrote:

> ----------------------------------- logs/sun4.log -------------------------------
> LOG Build: apachen sun4 bal unix active 1200 Thu Oct 16 11:53:31 EDT 1997
> LOG: uname -a:SunOS baltimore 4.1.4 4 sun4m
>  + configured for SunOS 4 platform
> gcc  -DSUNOS4 -DUSEBCOPY -DSTATUS     -o httpd buildmark.o modules.o  modules/proxy/libproxy.a
 modules/example/libexample.a  modules/standard/libstandard.a  main/libmain.a  os/unix/libos.a
regex/libregex.a  

Why is -DUSEBCOPY added to the compile line?  Shouldn't it be defined in
conf.h?

> collect2: ld returned 2 exit status
> ld: Undefined symbol 
>    _strtoul 

modules/proxy/proxy_util.c:proxy_is_ipaddr() ... it needs strtoul(). 
Looks like someone will have to fish strtoul() code from BSD and stuff it
into libap.

> gcc -c  -I../regex -I../os/unix -I../main    -DULTRIX -DSTATUS   alloc.c
> alloc.c: In function `pfopen':
> alloc.c:1029: warning: passing arg 2 of `fdopen' discards `const' from pointer target
type
> alloc.c: In function `pfdopen':
> alloc.c:1047: warning: passing arg 2 of `fdopen' discards `const' from pointer target
type

Silly braindead ultrix headers.

> ----------------------------------- logs/hp9000s700.log -------------------------------
> LOG Build: apachen hp9000s700 rwanda unix active 1200 Thu Oct 16 11:07:06 EDT 1997
> 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../os/unix -I../main    -DHPUX10 -DSTATUS   http_main.c
> http_main.c: In function `lingering_close':
> http_main.c:1038: warning: passing arg 2 of `select' from incompatible pointer type
> http_main.c:1038: warning: passing arg 4 of `select' from incompatible pointer type

Well, for some reason we're explicitly not defining SELECT_NEEDS_CAST for
HPUX 10, and only HPUX 10.

> http_config.c: In function `set_file_slot':
> http_config.c:875: warning: cast from pointer to integer of different size

Index: main/http_config.c
===================================================================
RCS file: /export/home/cvs/apachen/src/main/http_config.c,v
retrieving revision 1.82
diff -u -r1.82 http_config.c
--- http_config.c	1997/10/20 12:06:34	1.82
+++ http_config.c	1997/10/21 05:12:06
@@ -872,7 +872,7 @@
        This allows .htaccess to be independent of server_root,
        so the server can be moved or mirrored with less pain.  */
     char *p;
-    int offset = (int) cmd->info;
+    int offset = (long) cmd->info;
     if (*arg == '/')
 	p = pstrdup(cmd->pool, arg);
     else


> ranlib libmain.a
> s - creating symbol hash table. Wait...
> gcc -c  -I../../os/unix -I../../main    -DOSF1 -DSTATUS   mod_speling.c
> mod_speling.c: In function `set_speling':
> mod_speling.c:94: warning: cast to pointer from integer of different size
> mod_speling.c: In function `check_speling':
> mod_speling.c:186: warning: cast from pointer to integer of different size

I already posted a patch for this.

> LOG Build: apachen intelnt ox nt active 500 Thu Oct 16 10:48:44 EDT 1997
> cl.exe @C:\TEMP\nma00192.
> 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
> 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
> 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_negotiation.c
> .\modules\standard\mod_negotiation.c(373) : warning C4244: '=' : conversion from 'double
' to 'float ', possible loss of data
> .\modules\standard\mod_negotiation.c(377) : warning C4244: '=' : conversion from 'double
' to 'float ', possible loss of data
> .\modules\standard\mod_negotiation.c(380) : warning C4244: '=' : conversion from 'double
' to 'float ', possible loss of data
> .\modules\standard\mod_negotiation.c(742) : 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 .\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
> 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(378) : warning C4244: 'function' : conversion from
'float ' to 'unsigned long ', possible loss of data
> ..\..\modules\standard\mod_status.c(383) : warning C4244: 'function' : conversion from
'float ' to 'unsigned long ', possible loss of data
> cl.exe @C:\TEMP\nma00230.
> proxy_cache.c(191) : warning C4018: '<' : signed/unsigned mismatch
> proxy_cache.c(191) : warning C4018: '<=' : signed/unsigned mismatch
> proxy_cache.c(219) : warning C4018: '<' : signed/unsigned mismatch
> proxy_cache.c(219) : warning C4018: '<=' : signed/unsigned mismatch
> proxy_cache.c(858) : warning C4018: '!=' : signed/unsigned mismatch
> proxy_connect.c(150) : warning C4761: integral size mismatch in argument; conversion
supplied
> proxy_connect.c(150) : warning C4761: integral size mismatch in argument; conversion
supplied
> proxy_ftp.c(252) : warning C4018: '!=' : signed/unsigned mismatch
> proxy_ftp.c(490) : warning C4761: integral size mismatch in argument; conversion supplied
> proxy_http.c(215) : warning C4761: integral size mismatch in argument; conversion supplied
> proxy_http.c(221) : warning C4761: integral size mismatch in argument; conversion supplied
> proxy_util.c(156) : warning C4761: integral size mismatch in argument; conversion supplied
> proxy_util.c(166) : warning C4761: integral size mismatch in argument; conversion supplied
> proxy_util.c(173) : warning C4761: integral size mismatch in argument; conversion supplied
>  Directory of D:\bt\scratch\apachen\src\ApacheR
> 10/16/97  11:05a                 3,072 APACHE.EXE      Apache.exe
> 10/16/97  11:05a               222,720 APACHE~1.DLL    ApacheCore.dll

NT sure is a goddamn noisy bugger.  None of these are bugs at the moment,
so I'd say ignore them.  And FWIW, I don't like adding casts just to
ignore warnings... the 64-bit issue is somewhat different.  But this
stuff is mostly poor coding (mixing int and unsigned).

Dean


Mime
View raw message