[Prev][Next][Index][Thread]
Warnings when compiling 1b3a under NT 4.0
Frystyk,
I get 13 warnings when I compile the 1b3a library under NT 4.0 using VC++
4.2.
I've looked at most of these and it looks like simple casts would fix most
of them. I'm curious why these casts haven't been done. Is there some
problem in maintaining the ability to compile under multiple Oss that makes
adding these casts a problem? Just curious.
Dennis Gallagher
galron@seanet.com
Ps. My compile output is below. Sorry to the list for the large file size
of this message.
--------------------Configuration: wwwdll - Win32 Debug--------------------
Compiling...
windll.c
wwwdll.c
Linking...
.\wwwdll.def : warning LNK4087: CONSTANT keyword is obsolete; use DATA
.\wwwdll.def : warning LNK4087: CONSTANT keyword is obsolete; use DATA
Creating library ../../../Bin/wwwdll.lib and object
../../../Bin/wwwdll.exp
--------------------Configuration: wwwutils - Win32
Debug--------------------
Compiling...
HTArray.c
HTList.c
HTChunk.c
windll.c
HTString.c
HTUU.c
HTMemory.c
HTAssoc.c
HTAtom.c
Linking...
Creating library ../../../Bin/wwwutils.lib and object
../../../Bin/wwwutils.exp
--------------------Configuration: wwwcore - Win32
Debug--------------------
Compiling...
HTFormat.c
HTParse.c
HTInet.c
C:\MSDEV\projects\w3c-libwww-4.1b3a\Library\src\HTInet.c(371) : warning
C4101: 'fp' : unreferenced local variable
HTTrans.c
HTWWWStr.c
HTLink.c
HTBind.c
HTHost.c
HTError.c
HTAnchor.c
HTNet.c
HTStream.c
HTEscape.c
windll.c
HTProt.c
HTLib.c
HTUTree.c
HTDNS.c
HTMethod.c
HTChannl.c
HTFWrite.c
C:\MSDEV\projects\w3c-libwww-4.1b3a\Library\src\HTFWrite.c(70) : warning
C4018: '!=' : signed/unsigned mismatch
HTReqMan.c
HTUser.c
HTEvent.c
HTAlert.c
Linking...
Creating library ../../../Bin/wwwcore.lib and object
../../../Bin/wwwcore.exp
--------------------Configuration: wwwcache - Win32
Debug--------------------
Compiling...
windll.c
HTCache.c
C:\MSDEV\projects\w3c-libwww-4.1b3a\Library\src\HTCache.c(572) : warning
C4018: '!=' : signed/unsigned mismatch
Linking...
Creating library ../../../Bin/wwwcache.lib and object
../../../Bin/wwwcache.exp
--------------------Configuration: wwwmime - Win32
Debug--------------------
Compiling...
windll.c
HTBound.c
HTMIMPrs.c
HTMIMImp.c
HTHeader.c
HTMIMERq.c
HTMIME.c
Linking...
Creating library ../../../Bin/wwwmime.lib and object
../../../Bin/wwwmime.exp
--------------------Configuration: wwwstream - Win32
Debug--------------------
Compiling...
HTGuess.c
HTConLen.c
HTTee.c
HTXParse.c
HTSChunk.c
windll.c
HTEPtoCl.c
Linking...
Creating library ../../../Bin/wwwstream.lib and object
../../../Bin/wwwstream.exp
--------------------Configuration: wwwtrans - Win32
Debug--------------------
Compiling...
HTANSI.c
C:\MSDEV\projects\w3c-libwww-4.1b3a\Library\src\HTANSI.c(220) : warning
C4018: '!=' : signed/unsigned mismatch
windll.c
HTWriter.c
HTMux.c
C:\MSDEV\projects\w3c-libwww-4.1b3a\Library\src\HTMux.c(351) : warning
C4018: '<' : signed/unsigned mismatch
HTBufWrt.c
HTLocal.c
HTReader.c
HTSocket.c
HTTCP.c
C:\MSDEV\projects\w3c-libwww-4.1b3a\Library\src\HTTCP.c(100) : warning
C4244: 'function' : conversion from 'long ' to 'unsigned short ', possible
loss of data
C:\MSDEV\projects\w3c-libwww-4.1b3a\Library\src\HTTCP.c(100) : warning
C4761: integral size mismatch in argument; conversion supplied
Linking...
Creating library ../../../Bin/wwwtrans.lib and object
../../../Bin/wwwtrans.exp
--------------------Configuration: wwwhttp - Win32
Debug--------------------
Compiling...
HTTPReq.c
HTTPGen.c
HTTChunk.c
HTTPServ.c
windll.c
HTAABrow.c
HTTPRes.c
HTTP.c
HTAAUtil.c
Linking...
Creating library ../../../Bin/wwwhttp.lib and object
../../../Bin/wwwhttp.exp
--------------------Configuration: wwwapp - Win32 Debug--------------------
Compiling...
HTEvntrg.c
HTFilter.c
HTHist.c
HTHome.c
HTLog.c
HTDialog.c
HTAccess.c
windll.c
Linking...
Creating library ../../../Bin/wwwapp.lib and object ../../../Bin/wwwa
pp.exp
--------------------Configuration: wwwrules - Win32
Debug--------------------
Compiling...
HTProxy.c
windll.c
HTRules.c
Linking...
Creating library ../../../Bin/wwwrules.lib and object
../../../Bin/wwwrules.exp
--------------------Configuration: wwwhtml - Win32
Debug--------------------
Compiling...
HTMLPDTD.c
HTTeXGen.c
windll.c
SGML.c
HTMLGen.c
Linking...
Creating library ../../../Bin/wwwhtml.lib and object
../../../Bin/wwwhtml.exp
--------------------Configuration: wwwnews - Win32
Debug--------------------
Compiling...
windll.c
HTNDir.c
HTNewsLs.c
HTNews.c
HTNewsRq.c
Linking...
Creating library ../../../Bin/wwwnews.lib and object
../../../Bin/wwwnews.exp
--------------------Configuration: wwwdir - Win32 Debug--------------------
Compiling...
windll.c
HTDir.c
HTDescpt.c
HTIcons.c
Linking...
Creating library ../../../Bin/wwwdir.lib and object
../../../Bin/wwwdir.exp
--------------------Configuration: wwwgophe - Win32
Debug--------------------
Compiling...
windll.c
HTGopher.c
Linking...
Creating library ../../../Bin/wwwgophe.lib and object
../../../Bin/wwwgophe.exp
--------------------Configuration: wwwftp - Win32 Debug--------------------
Compiling...
HTFTP.c
windll.c
HTFTPDir.c
Linking...
Creating library ../../../Bin/wwwftp.lib and object
../../../Bin/wwwftp.exp
--------------------Configuration: wwwdir - Win32 Debug--------------------
Compiling...
windll.c
HTDir.c
HTDescpt.c
HTIcons.c
Linking...
Creating library ../../../Bin/wwwdir.lib and object
../../../Bin/wwwdir.exp
--------------------Configuration: wwwfile - Win32
Debug--------------------
Compiling...
HTMulti.c
windll.c
HTFile.c
Linking...
Creating library ../../../Bin/wwwfile.lib and object
../../../Bin/wwwfile.exp
--------------------Configuration: wwwtelnt - Win32
Debug--------------------
Compiling...
windll.c
HTTelnet.c
Linking...
Creating library ../../../Bin/wwwtelnt.lib and object ../../../Bin/ww
wtelnt.exp
--------------------Configuration: wwwhtml - Win32
Debug--------------------
Compiling...
HTMLPDTD.c
HTTeXGen.c
windll.c
SGML.c
HTMLGen.c
Linking...
Creating library ../../../Bin/wwwhtml.lib and object
../../../Bin/wwwhtml.exp
--------------------Configuration: wwwapp - Win32 Debug--------------------
Compiling...
HTEvntrg.c
HTFilter.c
HTHist.c
HTHome.c
HTLog.c
HTDialog.c
HTAccess.c
windll.c
Linking...
Creating library ../../../Bin/wwwapp.lib and object
../../../Bin/wwwapp.exp
--------------------Configuration: wwwwais - Win32
Debug--------------------
Compiling...
HTWSRC.c
windll.c
Linking...
Creating library ../../../Bin/wwwwais.lib and object
../../../Bin/wwwwais.exp
--------------------Configuration: wwwtrans - Win32
Debug--------------------
Compiling...
HTANSI.c
C:\MSDEV\projects\w3c-libwww-4.1b3a\Library\src\HTANSI.c(220) : warning
C4018: '!=' : signed/unsigned mismatch
windll.c
HTWriter.c
HTMux.c
C:\MSDEV\projects\w3c-libwww-4.1b3a\Library\src\HTMux.c(351) : warning
C4018: '<' : signed/unsigned mismatch
HTBufWrt.c
HTLocal.c
HTReader.c
HTSocket.c
HTTCP.c
C:\MSDEV\projects\w3c-libwww-4.1b3a\Library\src\HTTCP.c(100) : warning
C4244: 'function' : conversion from 'long ' to 'unsigned short ', possible
loss of data
C:\MSDEV\projects\w3c-libwww-4.1b3a\Library\src\HTTCP.c(100) : warning
C4761: integral size mismatch in argument; conversion supplied
Linking...
Creating library ../../../Bin/wwwtrans.lib and object
../../../Bin/wwwtrans.exp
--------------------Configuration: wwwstream - Win32
Debug--------------------
Compiling...
HTGuess.c
HTConLen.c
HTTee.c
HTXParse.c
HTSChunk.c
windll.c
HTEPtoCl.c
Linking...
Creating library ../../../Bin/wwwstream.lib and object
../../../Bin/wwwstream.exp
--------------------Configuration: msvc_40 - Win32
Debug--------------------
Compiling...
wwwdll.c
windll.c
Linking...
msvc_40.dll - 0 error(s), 13 warning(s)