Hi All/Wei,

This clears a minor squak under GCC with -Wall -Wextra (and -Wno-
deprecated -Wno-unused to cut down on the noise). The warning was that
ModularArithmetic base class should be initialized in the copy
constructor.

Jeff

~/cryptopp$ svn diff modarith.h > modarith.h.diff
~/cryptopp$ cat modarith.h.diff
Index: modarith.h
===================================================================
--- modarith.h  (revision 521)
+++ modarith.h  (working copy)
@@ -27,7 +27,7 @@
                : m_modulus(modulus), m_result((word)0, modulus.reg.size()) {}

        ModularArithmetic(const ModularArithmetic &ma)
-               : m_modulus(ma.m_modulus), m_result((word)0, 
m_modulus.reg.size())
{}
+               : AbstractRing<Integer>(ma), m_modulus(ma.m_modulus),
m_result((word)0, m_modulus.reg.size()) {}

        ModularArithmetic(BufferedTransformation &bt);  // construct from BER
encoded parameters



-- 
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