Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ cd cryptopp
- $ rm *.a *.exe
- $ AR=gcc-ar RANLIB=gcc-ranlib CXX=g++ CXXFLAGS="-DNDEBUG -O2 -flto=6 -g -fPIC -pthread" make -j 2
- Using testing flags: -DNDEBUG -O2 -flto=6 -g -fPIC -pthread
- gcc-ar r libcryptopp.a cryptlib.o cpu.o integer.o 3way.o adler32.o algebra.o algparam.o arc4.o aria.o aria_simd.o ariatab.o asn.o authenc.o base32.o base64.o basecode.o bfinit.o blake2.o blake2b_simd.o blake2s_simd.o blowfish.o blumshub.o camellia.o cast.o casts.o cbcmac.o ccm.o chacha.o chacha_avx.o chacha_simd.o chachapoly.o cham.o cham_simd.o channels.o cmac.o crc.o crc_simd.o darn.o default.o des.o dessp.o dh.o dh2.o dll.o donna_32.o donna_64.o donna_sse.o dsa.o eax.o ec2n.o eccrypto.o ecp.o elgamal.o emsa2.o eprecomp.o esign.o files.o filters.o fips140.o fipstest.o gcm.o gcm_simd.o gf256.o gf2_32.o gf2n.o gf2n_simd.o gfpcrypt.o gost.o gzip.o hc128.o hc256.o hex.o hight.o hmac.o hrtimer.o ida.o idea.o iterhash.o kalyna.o kalynatab.o keccak.o keccak_core.o keccak_simd.o lea.o lea_simd.o luc.o mars.o marss.o md2.o md4.o md5.o misc.o modes.o mqueue.o mqv.o nbtheory.o neon_simd.o oaep.o osrng.o padlkrng.o panama.o pkcspad.o poly1305.o polynomi.o ppc_power7.o ppc_power8.o ppc_power9.o ppc_simd.o pssr.o pubkey.o queue.o rabbit.o rabin.o randpool.o rc2.o rc5.o rc6.o rdrand.o rdtables.o rijndael.o rijndael_simd.o ripemd.o rng.o rsa.o rw.o safer.o salsa.o scrypt.o seal.o seed.o serpent.o sha.o sha3.o sha_simd.o shacal2.o shacal2_simd.o shake.o shark.o sharkbox.o simeck.o simeck_simd.o simon.o simon128_simd.o simon64_simd.o skipjack.o sm3.o sm4.o sm4_simd.o sosemanuk.o speck.o speck128_simd.o speck64_simd.o square.o squaretb.o sse_simd.o strciphr.o tea.o tftables.o threefish.o tiger.o tigertab.o ttmac.o tweetnacl.o twofish.o vmac.o wake.o whrlpool.o xed25519.o xtr.o xtrcrypt.o zdeflate.o zinflate.o zlib.o aes_armv4.o sha1_armv4.o sha256_armv4.o sha512_armv4.o
- /usr/bin/ar: creating libcryptopp.a
- gcc-ranlib libcryptopp.a
- g++ -o cryptest.exe -DNDEBUG -O2 -flto=6 -g -fPIC -pthread adhoc.o test.o bench1.o bench2.o bench3.o datatest.o dlltest.o fipsalgt.o validat0.o validat1.o validat2.o validat3.o validat4.o validat5.o validat6.o validat7.o validat8.o validat9.o validat10.o regtest1.o regtest2.o regtest3.o regtest4.o ./libcryptopp.a
- pubkey.h:640:26: warning: type ‘struct TF_ObjectImpl’ violates the C++ One Definition Rule [-Wodr]
- class CRYPTOPP_NO_VTABLE TF_ObjectImpl : public TF_ObjectImplBase<BASE, SCHEME_OPTIONS, KEY_CLASS>
- ^
- pubkey.h:640:26: note: a different type is defined in another translation unit
- class CRYPTOPP_NO_VTABLE TF_ObjectImpl : public TF_ObjectImplBase<BASE, SCHEME_OPTIONS, KEY_CLASS>
- ^
- pubkey.h:651:11: note: the first difference of corresponding definitions is field ‘m_trapdoorFunction’
- KeyClass m_trapdoorFunction;
- ^
- pubkey.h:651:11: note: a field of same name but different type is defined in another translation unit
- KeyClass m_trapdoorFunction;
- ^
- pubkey.h:643:20: note: type ‘struct KeyClass’ should match type ‘struct KeyClass’
- typedef KEY_CLASS KeyClass;
- ^
- pubkey.h:678:7: warning: type ‘struct TF_VerifierImpl’ violates the C++ One Definition Rule [-Wodr]
- class TF_VerifierImpl : public TF_ObjectImpl<TF_VerifierBase, SCHEME_OPTIONS, typename SCHEME_OPTIONS::PublicKey>
- ^
- pubkey.h:678:7: note: a type with different bases is defined in another translation unit
- class TF_VerifierImpl : public TF_ObjectImpl<TF_VerifierBase, SCHEME_OPTIONS, typename SCHEME_OPTIONS::PublicKey>
- ^
- pubkey.h:2134:26: warning: type ‘struct PK_FinalTemplate’ violates the C++ One Definition Rule [-Wodr]
- class CRYPTOPP_NO_VTABLE PK_FinalTemplate : public BASE
- ^
- pubkey.h:2134:26: note: a type with different bases is defined in another translation unit
- class CRYPTOPP_NO_VTABLE PK_FinalTemplate : public BASE
- ^
- pubkey.h:640:26: warning: type ‘struct TF_ObjectImpl’ violates the C++ One Definition Rule [-Wodr]
- class CRYPTOPP_NO_VTABLE TF_ObjectImpl : public TF_ObjectImplBase<BASE, SCHEME_OPTIONS, KEY_CLASS>
- ^
- pubkey.h:640:26: note: a different type is defined in another translation unit
- class CRYPTOPP_NO_VTABLE TF_ObjectImpl : public TF_ObjectImplBase<BASE, SCHEME_OPTIONS, KEY_CLASS>
- ^
- pubkey.h:651:11: note: the first difference of corresponding definitions is field ‘m_trapdoorFunction’
- KeyClass m_trapdoorFunction;
- ^
- pubkey.h:651:11: note: a field of same name but different type is defined in another translation unit
- KeyClass m_trapdoorFunction;
- ^
- pubkey.h:643:20: note: type ‘struct KeyClass’ should match type ‘struct KeyClass’
- typedef KEY_CLASS KeyClass;
- ^
- pubkey.h:664:7: warning: type ‘struct TF_EncryptorImpl’ violates the C++ One Definition Rule [-Wodr]
- class TF_EncryptorImpl : public TF_ObjectImpl<TF_EncryptorBase, SCHEME_OPTIONS, typename SCHEME_OPTIONS::PublicKey>
- ^
- pubkey.h:664:7: note: a type with different bases is defined in another translation unit
- class TF_EncryptorImpl : public TF_ObjectImpl<TF_EncryptorBase, SCHEME_OPTIONS, typename SCHEME_OPTIONS::PublicKey>
- ^
- pubkey.h:2134:26: warning: type ‘struct PK_FinalTemplate’ violates the C++ One Definition Rule [-Wodr]
- class CRYPTOPP_NO_VTABLE PK_FinalTemplate : public BASE
- ^
- pubkey.h:2134:26: note: a type with different bases is defined in another translation unit
- class CRYPTOPP_NO_VTABLE PK_FinalTemplate : public BASE
- ^
- pubkey.h:640:26: warning: type ‘struct TF_ObjectImpl’ violates the C++ One Definition Rule [-Wodr]
- class CRYPTOPP_NO_VTABLE TF_ObjectImpl : public TF_ObjectImplBase<BASE, SCHEME_OPTIONS, KEY_CLASS>
- ^
- pubkey.h:640:26: note: a different type is defined in another translation unit
- class CRYPTOPP_NO_VTABLE TF_ObjectImpl : public TF_ObjectImplBase<BASE, SCHEME_OPTIONS, KEY_CLASS>
- ^
- pubkey.h:651:11: note: the first difference of corresponding definitions is field ‘m_trapdoorFunction’
- KeyClass m_trapdoorFunction;
- ^
- pubkey.h:651:11: note: a field of same name but different type is defined in another translation unit
- KeyClass m_trapdoorFunction;
- ^
- pubkey.h:643:20: note: type ‘struct KeyClass’ should match type ‘struct KeyClass’
- typedef KEY_CLASS KeyClass;
- ^
- pubkey.h:671:7: warning: type ‘struct TF_SignerImpl’ violates the C++ One Definition Rule [-Wodr]
- class TF_SignerImpl : public TF_ObjectImpl<TF_SignerBase, SCHEME_OPTIONS, typename SCHEME_OPTIONS::PrivateKey>
- ^
- pubkey.h:671:7: note: a type with different bases is defined in another translation unit
- class TF_SignerImpl : public TF_ObjectImpl<TF_SignerBase, SCHEME_OPTIONS, typename SCHEME_OPTIONS::PrivateKey>
- ^
- pubkey.h:2134:26: warning: type ‘struct PK_FinalTemplate’ violates the C++ One Definition Rule [-Wodr]
- class CRYPTOPP_NO_VTABLE PK_FinalTemplate : public BASE
- ^
- pubkey.h:2134:26: note: a type with different bases is defined in another translation unit
- class CRYPTOPP_NO_VTABLE PK_FinalTemplate : public BASE
- ^
- pubkey.h:640:26: warning: type ‘struct TF_ObjectImpl’ violates the C++ One Definition Rule [-Wodr]
- class CRYPTOPP_NO_VTABLE TF_ObjectImpl : public TF_ObjectImplBase<BASE, SCHEME_OPTIONS, KEY_CLASS>
- ^
- pubkey.h:640:26: note: a different type is defined in another translation unit
- class CRYPTOPP_NO_VTABLE TF_ObjectImpl : public TF_ObjectImplBase<BASE, SCHEME_OPTIONS, KEY_CLASS>
- ^
- pubkey.h:651:11: note: the first difference of corresponding definitions is field ‘m_trapdoorFunction’
- KeyClass m_trapdoorFunction;
- ^
- pubkey.h:651:11: note: a field of same name but different type is defined in another translation unit
- KeyClass m_trapdoorFunction;
- ^
- pubkey.h:643:20: note: type ‘struct KeyClass’ should match type ‘struct KeyClass’
- typedef KEY_CLASS KeyClass;
- ^
- pubkey.h:657:7: warning: type ‘struct TF_DecryptorImpl’ violates the C++ One Definition Rule [-Wodr]
- class TF_DecryptorImpl : public TF_ObjectImpl<TF_DecryptorBase, SCHEME_OPTIONS, typename SCHEME_OPTIONS::PrivateKey>
- ^
- pubkey.h:657:7: note: a type with different bases is defined in another translation unit
- class TF_DecryptorImpl : public TF_ObjectImpl<TF_DecryptorBase, SCHEME_OPTIONS, typename SCHEME_OPTIONS::PrivateKey>
- ^
- pubkey.h:2134:26: warning: type ‘struct PK_FinalTemplate’ violates the C++ One Definition Rule [-Wodr]
- class CRYPTOPP_NO_VTABLE PK_FinalTemplate : public BASE
- ^
- pubkey.h:2134:26: note: a type with different bases is defined in another translation unit
- class CRYPTOPP_NO_VTABLE PK_FinalTemplate : public BASE
- ^
- pubkey.h:2145:2: warning: ‘__comp_ctor ’ violates the C++ One Definition Rule [-Wodr]
- PK_FinalTemplate(const AsymmetricAlgorithm &algorithm)
- ^
- pubkey.h:2145:2: note: return value type mismatch
- PK_FinalTemplate(const AsymmetricAlgorithm &algorithm)
- ^
- pubkey.h:2134:26: note: type ‘struct PK_FinalTemplate’ itself violate the C++ One Definition Rule
- class CRYPTOPP_NO_VTABLE PK_FinalTemplate : public BASE
- ^
- pubkey.h:2145:2: note: ‘__comp_ctor ’ was previously declared here
- PK_FinalTemplate(const AsymmetricAlgorithm &algorithm)
- ^
- pubkey.h:2145:2: warning: ‘__base_ctor ’ violates the C++ One Definition Rule [-Wodr]
- PK_FinalTemplate(const AsymmetricAlgorithm &algorithm)
- ^
- pubkey.h:2145:2: note: return value type mismatch
- PK_FinalTemplate(const AsymmetricAlgorithm &algorithm)
- ^
- pubkey.h:2134:26: note: type ‘struct PK_FinalTemplate’ itself violate the C++ One Definition Rule
- class CRYPTOPP_NO_VTABLE PK_FinalTemplate : public BASE
- ^
- pubkey.h:2145:2: note: ‘__base_ctor ’ was previously declared here
- PK_FinalTemplate(const AsymmetricAlgorithm &algorithm)
- ^
- pubkey.h:645:10: warning: ‘__deleting_dtor ’ violates the C++ One Definition Rule [-Wodr]
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:645:10: note: implicit this pointer type mismatch
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:640:26: note: type ‘struct TF_ObjectImpl’ itself violate the C++ One Definition Rule
- class CRYPTOPP_NO_VTABLE TF_ObjectImpl : public TF_ObjectImplBase<BASE, SCHEME_OPTIONS, KEY_CLASS>
- ^
- pubkey.h:645:10: note: ‘__deleting_dtor ’ was previously declared here
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:645:10: warning: ‘__comp_dtor ’ violates the C++ One Definition Rule [-Wodr]
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:645:10: note: implicit this pointer type mismatch
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:640:26: note: type ‘struct TF_ObjectImpl’ itself violate the C++ One Definition Rule
- class CRYPTOPP_NO_VTABLE TF_ObjectImpl : public TF_ObjectImplBase<BASE, SCHEME_OPTIONS, KEY_CLASS>
- ^
- pubkey.h:645:10: note: ‘__comp_dtor ’ was previously declared here
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:645:10: warning: ‘__base_dtor ’ violates the C++ One Definition Rule [-Wodr]
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:645:10: note: implicit this pointer type mismatch
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:640:26: note: type ‘struct TF_ObjectImpl’ itself violate the C++ One Definition Rule
- class CRYPTOPP_NO_VTABLE TF_ObjectImpl : public TF_ObjectImplBase<BASE, SCHEME_OPTIONS, KEY_CLASS>
- ^
- pubkey.h:645:10: note: ‘__base_dtor ’ was previously declared here
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:645:10: warning: ‘__deleting_dtor ’ violates the C++ One Definition Rule [-Wodr]
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:645:10: note: implicit this pointer type mismatch
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:640:26: note: type ‘struct TF_ObjectImpl’ itself violate the C++ One Definition Rule
- class CRYPTOPP_NO_VTABLE TF_ObjectImpl : public TF_ObjectImplBase<BASE, SCHEME_OPTIONS, KEY_CLASS>
- ^
- pubkey.h:645:10: note: ‘__deleting_dtor ’ was previously declared here
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:645:10: warning: ‘__comp_dtor ’ violates the C++ One Definition Rule [-Wodr]
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:645:10: note: implicit this pointer type mismatch
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:640:26: note: type ‘struct TF_ObjectImpl’ itself violate the C++ One Definition Rule
- class CRYPTOPP_NO_VTABLE TF_ObjectImpl : public TF_ObjectImplBase<BASE, SCHEME_OPTIONS, KEY_CLASS>
- ^
- pubkey.h:645:10: note: ‘__comp_dtor ’ was previously declared here
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:645:10: warning: ‘__base_dtor ’ violates the C++ One Definition Rule [-Wodr]
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:645:10: note: implicit this pointer type mismatch
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:640:26: note: type ‘struct TF_ObjectImpl’ itself violate the C++ One Definition Rule
- class CRYPTOPP_NO_VTABLE TF_ObjectImpl : public TF_ObjectImplBase<BASE, SCHEME_OPTIONS, KEY_CLASS>
- ^
- pubkey.h:645:10: note: ‘__base_dtor ’ was previously declared here
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:2145:2: warning: ‘__comp_ctor ’ violates the C++ One Definition Rule [-Wodr]
- PK_FinalTemplate(const AsymmetricAlgorithm &algorithm)
- ^
- pubkey.h:2145:2: note: return value type mismatch
- PK_FinalTemplate(const AsymmetricAlgorithm &algorithm)
- ^
- pubkey.h:2134:26: note: type ‘struct PK_FinalTemplate’ itself violate the C++ One Definition Rule
- class CRYPTOPP_NO_VTABLE PK_FinalTemplate : public BASE
- ^
- pubkey.h:2145:2: note: ‘__comp_ctor ’ was previously declared here
- PK_FinalTemplate(const AsymmetricAlgorithm &algorithm)
- ^
- pubkey.h:2145:2: warning: ‘__base_ctor ’ violates the C++ One Definition Rule [-Wodr]
- PK_FinalTemplate(const AsymmetricAlgorithm &algorithm)
- ^
- pubkey.h:2145:2: note: return value type mismatch
- PK_FinalTemplate(const AsymmetricAlgorithm &algorithm)
- ^
- pubkey.h:2134:26: note: type ‘struct PK_FinalTemplate’ itself violate the C++ One Definition Rule
- class CRYPTOPP_NO_VTABLE PK_FinalTemplate : public BASE
- ^
- pubkey.h:2145:2: note: ‘__base_ctor ’ was previously declared here
- PK_FinalTemplate(const AsymmetricAlgorithm &algorithm)
- ^
- pubkey.h:645:10: warning: ‘__deleting_dtor ’ violates the C++ One Definition Rule [-Wodr]
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:645:10: note: implicit this pointer type mismatch
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:640:26: note: type ‘struct TF_ObjectImpl’ itself violate the C++ One Definition Rule
- class CRYPTOPP_NO_VTABLE TF_ObjectImpl : public TF_ObjectImplBase<BASE, SCHEME_OPTIONS, KEY_CLASS>
- ^
- pubkey.h:645:10: note: ‘__deleting_dtor ’ was previously declared here
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:645:10: warning: ‘__comp_dtor ’ violates the C++ One Definition Rule [-Wodr]
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:645:10: note: implicit this pointer type mismatch
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:640:26: note: type ‘struct TF_ObjectImpl’ itself violate the C++ One Definition Rule
- class CRYPTOPP_NO_VTABLE TF_ObjectImpl : public TF_ObjectImplBase<BASE, SCHEME_OPTIONS, KEY_CLASS>
- ^
- pubkey.h:645:10: note: ‘__comp_dtor ’ was previously declared here
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:645:10: warning: ‘__base_dtor ’ violates the C++ One Definition Rule [-Wodr]
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:645:10: note: implicit this pointer type mismatch
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:640:26: note: type ‘struct TF_ObjectImpl’ itself violate the C++ One Definition Rule
- class CRYPTOPP_NO_VTABLE TF_ObjectImpl : public TF_ObjectImplBase<BASE, SCHEME_OPTIONS, KEY_CLASS>
- ^
- pubkey.h:645:10: note: ‘__base_dtor ’ was previously declared here
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:645:10: warning: ‘__deleting_dtor ’ violates the C++ One Definition Rule [-Wodr]
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:645:10: note: implicit this pointer type mismatch
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:640:26: note: type ‘struct TF_ObjectImpl’ itself violate the C++ One Definition Rule
- class CRYPTOPP_NO_VTABLE TF_ObjectImpl : public TF_ObjectImplBase<BASE, SCHEME_OPTIONS, KEY_CLASS>
- ^
- pubkey.h:645:10: note: ‘__deleting_dtor ’ was previously declared here
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:645:10: warning: ‘__comp_dtor ’ violates the C++ One Definition Rule [-Wodr]
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:645:10: note: implicit this pointer type mismatch
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:640:26: note: type ‘struct TF_ObjectImpl’ itself violate the C++ One Definition Rule
- class CRYPTOPP_NO_VTABLE TF_ObjectImpl : public TF_ObjectImplBase<BASE, SCHEME_OPTIONS, KEY_CLASS>
- ^
- pubkey.h:645:10: note: ‘__comp_dtor ’ was previously declared here
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:645:10: warning: ‘__base_dtor ’ violates the C++ One Definition Rule [-Wodr]
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:645:10: note: implicit this pointer type mismatch
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:640:26: note: type ‘struct TF_ObjectImpl’ itself violate the C++ One Definition Rule
- class CRYPTOPP_NO_VTABLE TF_ObjectImpl : public TF_ObjectImplBase<BASE, SCHEME_OPTIONS, KEY_CLASS>
- ^
- pubkey.h:645:10: note: ‘__base_dtor ’ was previously declared here
- virtual ~TF_ObjectImpl() {}
- ^
- pubkey.h:647:19: warning: ‘GetKey’ violates the C++ One Definition Rule [-Wodr]
- const KeyClass & GetKey() const {return m_trapdoorFunction;}
- ^
- pubkey.h:647:19: note: ‘GetKey’ was previously declared here
- const KeyClass & GetKey() const {return m_trapdoorFunction;}
- ^
- pubkey.h:647:19: warning: ‘GetKey’ violates the C++ One Definition Rule [-Wodr]
- const KeyClass & GetKey() const {return m_trapdoorFunction;}
- ^
- pubkey.h:647:19: note: ‘GetKey’ was previously declared here
- const KeyClass & GetKey() const {return m_trapdoorFunction;}
- ^
- pubkey.h:647:19: warning: ‘GetKey’ violates the C++ One Definition Rule [-Wodr]
- const KeyClass & GetKey() const {return m_trapdoorFunction;}
- ^
- pubkey.h:647:19: note: ‘GetKey’ was previously declared here
- const KeyClass & GetKey() const {return m_trapdoorFunction;}
- ^
- pubkey.h:647:19: warning: ‘GetKey’ violates the C++ One Definition Rule [-Wodr]
- const KeyClass & GetKey() const {return m_trapdoorFunction;}
- ^
- pubkey.h:647:19: note: ‘GetKey’ was previously declared here
- const KeyClass & GetKey() const {return m_trapdoorFunction;}
- ^
- pubkey.h:648:13: warning: ‘AccessKey’ violates the C++ One Definition Rule [-Wodr]
- KeyClass & AccessKey() {return m_trapdoorFunction;}
- ^
- pubkey.h:648:13: note: implicit this pointer type mismatch
- KeyClass & AccessKey() {return m_trapdoorFunction;}
- ^
- pubkey.h:640:26: note: type ‘struct TF_ObjectImpl’ itself violate the C++ One Definition Rule
- class CRYPTOPP_NO_VTABLE TF_ObjectImpl : public TF_ObjectImplBase<BASE, SCHEME_OPTIONS, KEY_CLASS>
- ^
- pubkey.h:648:13: note: ‘AccessKey’ was previously declared here
- KeyClass & AccessKey() {return m_trapdoorFunction;}
- ^
- pubkey.h:648:13: warning: ‘AccessKey’ violates the C++ One Definition Rule [-Wodr]
- KeyClass & AccessKey() {return m_trapdoorFunction;}
- ^
- pubkey.h:648:13: note: implicit this pointer type mismatch
- KeyClass & AccessKey() {return m_trapdoorFunction;}
- ^
- pubkey.h:640:26: note: type ‘struct TF_ObjectImpl’ itself violate the C++ One Definition Rule
- class CRYPTOPP_NO_VTABLE TF_ObjectImpl : public TF_ObjectImplBase<BASE, SCHEME_OPTIONS, KEY_CLASS>
- ^
- pubkey.h:648:13: note: ‘AccessKey’ was previously declared here
- KeyClass & AccessKey() {return m_trapdoorFunction;}
- ^
- pubkey.h:648:13: warning: ‘AccessKey’ violates the C++ One Definition Rule [-Wodr]
- KeyClass & AccessKey() {return m_trapdoorFunction;}
- ^
- pubkey.h:648:13: note: implicit this pointer type mismatch
- KeyClass & AccessKey() {return m_trapdoorFunction;}
- ^
- pubkey.h:640:26: note: type ‘struct TF_ObjectImpl’ itself violate the C++ One Definition Rule
- class CRYPTOPP_NO_VTABLE TF_ObjectImpl : public TF_ObjectImplBase<BASE, SCHEME_OPTIONS, KEY_CLASS>
- ^
- pubkey.h:648:13: note: ‘AccessKey’ was previously declared here
- KeyClass & AccessKey() {return m_trapdoorFunction;}
- ^
- pubkey.h:648:13: warning: ‘AccessKey’ violates the C++ One Definition Rule [-Wodr]
- KeyClass & AccessKey() {return m_trapdoorFunction;}
- ^
- pubkey.h:648:13: note: implicit this pointer type mismatch
- KeyClass & AccessKey() {return m_trapdoorFunction;}
- ^
- pubkey.h:640:26: note: type ‘struct TF_ObjectImpl’ itself violate the C++ One Definition Rule
- class CRYPTOPP_NO_VTABLE TF_ObjectImpl : public TF_ObjectImplBase<BASE, SCHEME_OPTIONS, KEY_CLASS>
- ^
- pubkey.h:648:13: note: ‘AccessKey’ was previously declared here
- KeyClass & AccessKey() {return m_trapdoorFunction;}
- ^
- xtrcrypt.h:15:7: warning: virtual table of type ‘struct XTR_DH’ violates one definition rule [-Wodr]
- class XTR_DH : public SimpleKeyAgreementDomain, public CryptoParameters
- ^
- xtrcrypt.h:15:7: note: the conflicting type defined in another translation unit with different RTTI information
- class XTR_DH : public SimpleKeyAgreementDomain, public CryptoParameters
- ^
- xed25519.h:625:8: warning: virtual table of type ‘struct ed25519PublicKey’ violates one definition rule [-Wodr]
- struct ed25519PublicKey : public X509PublicKey
- ^
- xed25519.h:625:8: note: the conflicting type defined in another translation unit with different RTTI information
- struct ed25519PublicKey : public X509PublicKey
- ^
- xed25519.h:355:8: warning: virtual table of type ‘struct ed25519PrivateKey’ violates one definition rule [-Wodr]
- struct ed25519PrivateKey : public PKCS8PrivateKey
- ^
- xed25519.h:355:8: note: the conflicting type defined in another translation unit with different RTTI information
- struct ed25519PrivateKey : public PKCS8PrivateKey
- ^
- xed25519.h:54:7: warning: virtual table of type ‘struct x25519’ violates one definition rule [-Wodr]
- class x25519 : public SimpleKeyAgreementDomain, public CryptoParameters, public PKCS8PrivateKey
- ^
- xed25519.h:54:7: note: the conflicting type defined in another translation unit with different RTTI information
- class x25519 : public SimpleKeyAgreementDomain, public CryptoParameters, public PKCS8PrivateKey
- ^
- rw.h:23:20: warning: virtual table of type ‘struct RWFunction’ violates one definition rule [-Wodr]
- class CRYPTOPP_DLL RWFunction : public TrapdoorFunction, public PublicKey
- ^
- rw.h:23:20: note: the conflicting type defined in another translation unit with different RTTI information
- class CRYPTOPP_DLL RWFunction : public TrapdoorFunction, public PublicKey
- ^
- rw.h:59:20: warning: virtual table of type ‘struct InvertibleRWFunction’ violates one definition rule [-Wodr]
- class CRYPTOPP_DLL InvertibleRWFunction : public RWFunction, public TrapdoorFunctionInverse, public PrivateKey
- ^
- rw.h:59:20: note: the conflicting type defined in another translation unit with different RTTI information
- class CRYPTOPP_DLL InvertibleRWFunction : public RWFunction, public TrapdoorFunctionInverse, public PrivateKey
- ^
- rsa.h:23:20: warning: virtual table of type ‘struct RSAFunction’ violates one definition rule [-Wodr]
- class CRYPTOPP_DLL RSAFunction : public TrapdoorFunction, public X509PublicKey
- ^
- rsa.h:23:20: note: the conflicting type defined in another translation unit with different RTTI information
- class CRYPTOPP_DLL RSAFunction : public TrapdoorFunction, public X509PublicKey
- ^
- rsa.h:151:20: warning: virtual table of type ‘struct InvertibleRSAFunction_ISO’ violates one definition rule [-Wodr]
- class CRYPTOPP_DLL InvertibleRSAFunction_ISO : public InvertibleRSAFunction
- ^
- rsa.h:151:20: note: the conflicting type defined in another translation unit with different RTTI information
- class CRYPTOPP_DLL InvertibleRSAFunction_ISO : public InvertibleRSAFunction
- ^
- rsa.h:62:20: warning: virtual table of type ‘struct InvertibleRSAFunction’ violates one definition rule [-Wodr]
- class CRYPTOPP_DLL InvertibleRSAFunction : public RSAFunction, public TrapdoorFunctionInverse, public PKCS8PrivateKey
- ^
- rsa.h:62:20: note: the conflicting type defined in another translation unit with different RTTI information
- class CRYPTOPP_DLL InvertibleRSAFunction : public RSAFunction, public TrapdoorFunctionInverse, public PKCS8PrivateKey
- ^
- rsa.h:142:20: warning: virtual table of type ‘struct RSAFunction_ISO’ violates one definition rule [-Wodr]
- class CRYPTOPP_DLL RSAFunction_ISO : public RSAFunction
- ^
- rsa.h:142:20: note: the conflicting type defined in another translation unit with different RTTI information
- class CRYPTOPP_DLL RSAFunction_ISO : public RSAFunction
- ^
- rabin.h:18:7: warning: virtual table of type ‘struct RabinFunction’ violates one definition rule [-Wodr]
- class RabinFunction : public TrapdoorFunction, public PublicKey
- ^
- rabin.h:18:7: note: the conflicting type defined in another translation unit with different RTTI information
- class RabinFunction : public TrapdoorFunction, public PublicKey
- ^
- rabin.h:56:7: warning: virtual table of type ‘struct InvertibleRabinFunction’ violates one definition rule [-Wodr]
- class InvertibleRabinFunction : public RabinFunction, public TrapdoorFunctionInverse, public PrivateKey
- ^
- rabin.h:56:7: note: the conflicting type defined in another translation unit with different RTTI information
- class InvertibleRabinFunction : public RabinFunction, public TrapdoorFunctionInverse, public PrivateKey
- ^
- luc.h:38:7: warning: virtual table of type ‘struct LUCFunction’ violates one definition rule [-Wodr]
- class LUCFunction : public TrapdoorFunction, public PublicKey
- ^
- luc.h:38:7: note: the conflicting type defined in another translation unit with different RTTI information
- class LUCFunction : public TrapdoorFunction, public PublicKey
- ^
- luc.h:223:7: warning: virtual table of type ‘struct DL_GroupParameters_LUC’ violates one definition rule [-Wodr]
- class DL_GroupParameters_LUC : public DL_GroupParameters_IntegerBasedImpl<DL_GroupPrecomputation_LUC, DL_BasePrecomputation_LUC>
- ^
- luc.h:223:7: note: the conflicting type defined in another translation unit with different RTTI information
- class DL_GroupParameters_LUC : public DL_GroupParameters_IntegerBasedImpl<DL_GroupPrecomputation_LUC, DL_BasePrecomputation_LUC>
- ^
- luc.h:78:7: warning: virtual table of type ‘struct InvertibleLUCFunction’ violates one definition rule [-Wodr]
- class InvertibleLUCFunction : public LUCFunction, public TrapdoorFunctionInverse, public PrivateKey
- ^
- luc.h:78:7: note: the conflicting type defined in another translation unit with different RTTI information
- class InvertibleLUCFunction : public LUCFunction, public TrapdoorFunctionInverse, public PrivateKey
- ^
- gfpcrypt.h:156:20: warning: virtual table of type ‘struct DL_GroupParameters_GFP’ violates one definition rule [-Wodr]
- class CRYPTOPP_DLL DL_GroupParameters_GFP : public DL_GroupParameters_IntegerBasedImpl<ModExpPrecomputation>
- ^
- gfpcrypt.h:156:20: note: the conflicting type defined in another translation unit with different RTTI information
- class CRYPTOPP_DLL DL_GroupParameters_GFP : public DL_GroupParameters_IntegerBasedImpl<ModExpPrecomputation>
- ^
- gfpcrypt.h:601:20: warning: virtual table of type ‘struct DL_GroupParameters_DSA’ violates one definition rule [-Wodr]
- class CRYPTOPP_DLL DL_GroupParameters_DSA : public DL_GroupParameters_GFP
- ^
- gfpcrypt.h:601:20: note: the conflicting type defined in another translation unit with different RTTI information
- class CRYPTOPP_DLL DL_GroupParameters_DSA : public DL_GroupParameters_GFP
- ^
- esign.h:20:7: warning: virtual table of type ‘struct ESIGNFunction’ violates one definition rule [-Wodr]
- class ESIGNFunction : public TrapdoorFunction, public ASN1CryptoMaterial<PublicKey>
- ^
- esign.h:20:7: note: the conflicting type defined in another translation unit with different RTTI information
- class ESIGNFunction : public TrapdoorFunction, public ASN1CryptoMaterial<PublicKey>
- ^
- esign.h:62:7: warning: virtual table of type ‘struct InvertibleESIGNFunction’ violates one definition rule [-Wodr]
- class InvertibleESIGNFunction : public ESIGNFunction, public RandomizedTrapdoorFunctionInverse, public PrivateKey
- ^
- esign.h:62:7: note: the conflicting type defined in another translation unit with different RTTI information
- class InvertibleESIGNFunction : public ESIGNFunction, public RandomizedTrapdoorFunctionInverse, public PrivateKey
- ^
- hmac.h:52:7: warning: virtual table of type ‘struct HMAC’ violates one definition rule [-Wodr]
- class HMAC : public MessageAuthenticationCodeImpl<HMAC_Base, HMAC<T> >
- ^
- hmac.h:52:7: note: the conflicting type defined in another translation unit
- class HMAC : public MessageAuthenticationCodeImpl<HMAC_Base, HMAC<T> >
- ^
- hmac.h:69:14: note: virtual method ‘_ZThn4_NK8CryptoPP4HMACINS_6SHA512EE13AlgorithmNameEv’
- std::string AlgorithmName() const {return std::string("HMAC(") + m_hash.AlgorithmName() + ")";}
- ^
- hmac.h:69:14: note: ought to match virtual method ‘_ZThn4_NK8CryptoPP4HMACINS_6SHA512EE13AlgorithmNameB5cxx11Ev’ but does not
- std::string AlgorithmName() const {return std::string("HMAC(") + m_hash.AlgorithmName() + ")";}
- ^
- hmac.h:52:7: warning: virtual table of type ‘struct HMAC’ violates one definition rule [-Wodr]
- class HMAC : public MessageAuthenticationCodeImpl<HMAC_Base, HMAC<T> >
- ^
- hmac.h:52:7: note: the conflicting type defined in another translation unit
- class HMAC : public MessageAuthenticationCodeImpl<HMAC_Base, HMAC<T> >
- ^
- hmac.h:69:14: note: virtual method ‘_ZThn4_NK8CryptoPP4HMACINS_9WhirlpoolEE13AlgorithmNameEv’
- std::string AlgorithmName() const {return std::string("HMAC(") + m_hash.AlgorithmName() + ")";}
- ^
- hmac.h:69:14: note: ought to match virtual method ‘_ZThn4_NK8CryptoPP4HMACINS_9WhirlpoolEE13AlgorithmNameB5cxx11Ev’ but does not
- std::string AlgorithmName() const {return std::string("HMAC(") + m_hash.AlgorithmName() + ")";}
- ^
- $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement