VC10 apparently wants an explicit cast of NULL to the appropriate type
in a std::pair. This was the only change necessary to get Crypto++ to
compile without errors on Visual Studio 2010 Beta 2.

--- pubkey.h.orig       2009-12-17 18:03:49.000000000 -0500
+++ pubkey.h    2009-12-17 18:04:21.000000000 -0500
@@ -240,7 +240,7 @@
                {
                        static HashIdentifier CRYPTOPP_API Lookup()
                        {
-                               return HashIdentifier(NULL, 0);
+                               return HashIdentifier(static_cast<const 
byte*>(NULL), 0);
                        }
                };
        };

-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.

Reply via email to