> ____________________________________________________
> Comparing Warnings compiling cryptlib.lib using  /W4
>
> (paths removed)
>
> 1> network.cpp
> ..l\cryptopp\wait.h(140): warning C4589: Constructor of abstract class 
> 'CryptoPP::WaitObjectsTracer' ignores initializer for virtual base class 
> 'CryptoPP::Tracer'
> 1>  ...\cryptopp\wait.h(140): note: virtual base classes are only 
> initialized by the most-derived type
>
> and
>
> 1>  socketft.cpp
> 1>...\cryptopp\wait.h(140): warning C4589: Constructor of abstract class 
> 'CryptoPP::WaitObjectsTracer' ignores initializer for virtual base class 
> 'CryptoPP::Tracer'
> 1>  ...\cryptopp\wait.h(140): note: virtual base classes are only 
> initialized by the most-derived type
> 1>socketft.cpp(109): warning C4996: 'inet_addr': Use inet_pton() or 
> InetPton() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable 
> deprecated API warnings
> 1>  C:\Program Files (x86)\Windows Kits\8.1\Include\um\winsock2.h(1850): 
> note: see declaration of 'inet_addr'
> 1>socketft.cpp(143): warning C4996: 'inet_addr': Use inet_pton() or 
> InetPton() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable 
> deprecated API warnings
> 1>  C:\Program Files (x86)\Windows Kits\8.1\Include\um\winsock2.h(1850): 
> note: see declaration of 'inet_addr'
> 1>socketft.cpp(147): warning C4996: 'gethostbyname': Use getaddrinfo() or 
> GetAddrInfoW() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable 
> deprecated API warnings
> 1>  C:\Program Files (x86)\Windows Kits\8.1\Include\um\winsock2.h(2238): 
> note: see declaration of 'gethostbyname'
>

My bad, this did not carry over from master. We added 
_WINSOCK_DEPRECATED_NO_WARNINGS to socketft.cpp until we agree on a path 
for a complete remediation.

The use of _WINSOCK_DEPRECATED_NO_WARNINGS is an open issue. See 
https://github.com/weidai11/cryptopp/issues/19.

1>  wait.cpp
> 1> ...\cryptopp\wait.h(140): warning C4589: Constructor of abstract class 
> 'CryptoPP::WaitObjectsTracer' ignores initializer for virtual base class 
> 'CryptoPP::Tracer'
> 1>  ...\cryptopp\wait.h(140): note: virtual base classes are only 
> initialized by the most-derived type
>
> 1>  winpipes.cpp
> 1> ...\cryptopp\wait.h(140): warning C4589: Constructor of abstract class 
> 'CryptoPP::WaitObjectsTracer' ignores initializer for virtual base class 
> 'CryptoPP::Tracer'
> 1>  ...\cryptopp\wait.h(140): note: virtual base classes are only 
> initialized by the most-derived type
>

Honestly, I don't really know what to do with this. Do you have any 
suggestions?
 

> and for cryptopp\Win32\Output\Release\cryptest.exe :
>
> 2>  bench2.cpp
> 2>  Generating code
> 2> ...\cryptopp\salsa.cpp(102): warning C4740: flow in or out of inline 
> asm code suppresses global optimization
>

OK, I don't believe we can do something about this one (modulo disabling 
the ASM). We disabled the warning on salsa.cpp

Jeff

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to