[Python-Dev] getaddrinfo.c: warnings on Windows

Tim Peters tim@digicool.com
Thu, 19 Jul 2001 15:01:04 -0400


If you're mucking with Windows specifically (as the latest patch here was),
and you don't have the MS Windows compiler, please upload a patch to SF
instead.  "NO WARNINGS" is a rule on Windows.

C:\Code\python\dist\src\Modules\getaddrinfo.c(418) : warning C4090:
'function' : different 'const' qualifiers
C:\Code\python\dist\src\Modules\getaddrinfo.c(418) : warning C4024:
'inet_pton' : different types for formal and actual parameter 2
C:\Code\python\dist\src\Modules\getaddrinfo.c(420) : warning C4101: 'pfx' :
unreferenced local variable
C:\Code\python\dist\src\Modules\getaddrinfo.c(495) : warning C4101:
'h_error' : unreferenced local variable
C:\Code\python\dist\src\Modules\getnameinfo.c(101) : warning C4101: 'pfx' :
unreferenced local variable
C:\Code\python\dist\src\Modules\getaddrinfo.c(346) : warning C4761: integral
size mismatch in argument; conversion supplied