Former Staff Shisui 491 Posted February 14, 2015 Former Staff Share Posted February 14, 2015 I'm using the source from vanilla that was given to us from her/him. I did compile db, but when I do clean I get an error. ClientManagerBoot.cpp: In member function 'bool CClientManager::InitializeMobTable()': ClientManagerBoot.cpp:460:22: error: aggregate 'std::ostringstream query' has incomplete type and cannot be defined std::ostringstream query; ^ compile CsvReader.cpp ClientManagerBoot.cpp: In member function 'void CClientManager::CheckItemTable()': ClientManagerBoot.cpp:700:21: error: aggregate 'std::ostringstream query' has incomplete type and cannot be defined std::ostringstream query; ^ ClientManagerBoot.cpp:729:22: error: aggregate 'std::ostringstream query2' has incomplete type and cannot be defined std::ostringstream query2; ^ ClientManagerBoot.cpp: In member function 'bool CClientManager::InitializeItemTable()': ClientManagerBoot.cpp:1032:22: error: aggregate 'std::ostringstream query' has incomplete type and cannot be defined std::ostringstream query; ^ CsvReader.cpp: In member function 'const char* cCsvAlias::operator[](size_t) const': CsvReader.cpp:72:25: warning: left operand of comma operator has no effect [-Wunused-value] LogToFile(NULL, "cannot find suitable conversion for %d", index); ^ CsvReader.cpp:72:67: warning: right operand of comma operator has no effect [-Wunused-value] LogToFile(NULL, "cannot find suitable conversion for %d", index); ^ CsvReader.cpp: In member function 'size_t cCsvAlias::operator[](const char*) const': CsvReader.cpp:90:25: warning: left operand of comma operator has no effect [-Wunused-value] LogToFile(NULL, "cannot find suitable conversion for %s", name); ^ CsvReader.cpp:90:67: warning: right operand of comma operator has no effect [-Wunused-value] LogToFile(NULL, "cannot find suitable conversion for %s", name); ^ gmake: *** [.obj/ClientManagerBoot.o] Error 1 Any clue? Thanks. Link to comment Share on other sites More sharing options...
Former Staff Shisui 491 Posted February 15, 2015 Author Former Staff Share Posted February 15, 2015 bump. Link to comment Share on other sites More sharing options...
Premium phayara 424 Posted February 15, 2015 Premium Share Posted February 15, 2015 // delete Link to comment Share on other sites More sharing options...
Former Staff Shisui 491 Posted February 15, 2015 Author Former Staff Share Posted February 15, 2015 I didn't edit nothing. I'm using this Link to comment Share on other sites More sharing options...
Zed 4 Posted April 7, 2015 Share Posted April 7, 2015 I'm using the source from vanilla that was given to us from her/him. I did compile db, but when I do clean I get an error. ClientManagerBoot.cpp: In member function 'bool CClientManager::InitializeMobTable()': ClientManagerBoot.cpp:460:22: error: aggregate 'std::ostringstream query' has incomplete type and cannot be defined std::ostringstream query; ^ compile CsvReader.cpp ClientManagerBoot.cpp: In member function 'void CClientManager::CheckItemTable()': ClientManagerBoot.cpp:700:21: error: aggregate 'std::ostringstream query' has incomplete type and cannot be defined std::ostringstream query; ^ ClientManagerBoot.cpp:729:22: error: aggregate 'std::ostringstream query2' has incomplete type and cannot be defined std::ostringstream query2; ^ ClientManagerBoot.cpp: In member function 'bool CClientManager::InitializeItemTable()': ClientManagerBoot.cpp:1032:22: error: aggregate 'std::ostringstream query' has incomplete type and cannot be defined std::ostringstream query; ^ CsvReader.cpp: In member function 'const char* cCsvAlias::operator[](size_t) const': CsvReader.cpp:72:25: warning: left operand of comma operator has no effect [-Wunused-value] LogToFile(NULL, "cannot find suitable conversion for %d", index); ^ CsvReader.cpp:72:67: warning: right operand of comma operator has no effect [-Wunused-value] LogToFile(NULL, "cannot find suitable conversion for %d", index); ^ CsvReader.cpp: In member function 'size_t cCsvAlias::operator[](const char*) const': CsvReader.cpp:90:25: warning: left operand of comma operator has no effect [-Wunused-value] LogToFile(NULL, "cannot find suitable conversion for %s", name); ^ CsvReader.cpp:90:67: warning: right operand of comma operator has no effect [-Wunused-value] LogToFile(NULL, "cannot find suitable conversion for %s", name); ^ gmake: *** [.obj/ClientManagerBoot.o] Error 1 Any clue? Thanks. #include <sstream> Add Top On File. 1 Link to comment Share on other sites More sharing options...
garofolo 12 Posted September 26, 2015 Share Posted September 26, 2015 Help plz?? gmake: Warning: File `Makefile' has modification time 8577 s in the futurecompile cipher.cpp with g++49 -Wall -fuse-linker-plugin -fuse-ld=gold -O2 -m32 -pipe -fexceptions -D_THREAD_SAFE -Wl,-rpath=/usr/local/lib32/metin2 -std=c++11 -static -static-libgcc -static-libstdc++ -Wno-strict-aliasing -g -ggdb -DNDEBUG -ffast-math -funsafe-loop-optimizations -ftracer -fira-loop-pressure -funroll-loops -finline-functions -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-loop-distribution -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-loop-distribute-patterns -ftree-slp-vectorize -fipa-cp-clone -mtune=i686 -march=i686 -mssse3In file included from ../../../Extern/include/cryptopp/secblock.h:7:0, from ../../../Extern/include/cryptopp/modes.h:8, from cipher.cpp:7:../../../Extern/include/cryptopp/algparam.h: In instantiation of 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter(const T&, bool) [with T = std::basic_string<char>]':../../../Extern/include/cryptopp/filters.h:793:132: required from here../../../Extern/include/cryptopp/misc.h:58:118: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable] #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_ASSERT_JOIN(cryptopp_assert_, instance) ^../../../Extern/include/cryptopp/misc.h:61:39: note: in definition of macro 'CRYPTOPP_DO_ASSERT_JOIN' #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y ^../../../Extern/include/cryptopp/misc.h:58:97: note: in expansion of macro 'CRYPTOPP_ASSERT_JOIN' #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_ASSERT_JOIN(cryptopp_assert_, instance) ^../../../Extern/include/cryptopp/misc.h:54:44: note: in expansion of macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE' #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__) ^../../../Extern/include/cryptopp/algparam.h:26:9: note: in expansion of macro 'CRYPTOPP_COMPILE_ASSERT' CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1); ^In file included from ../../../Extern/include/cryptopp/modes.h:8:0, from cipher.cpp:7:../../../Extern/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Align16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const void*) [with T = unsigned char; bool T_Align16 = false; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer = unsigned char*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type = unsigned int]':../../../Extern/include/cryptopp/secblock.h:247:25: required from 'CryptoPP::SecBlock<T, A>::SecBlock(CryptoPP::SecBlock<T, A>::size_type) [with T = unsigned char; A = CryptoPP::AllocatorWithCleanup<unsigned char>; CryptoPP::SecBlock<T, A>::size_type = unsigned int]'../../../Extern/include/cryptopp/algparam.h:17:2: required from here../../../Extern/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] CheckSize(n); ^../../../Extern/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'CryptoPP::AllocatorBase<unsigned char>' are not found by unqualified lookup../../../Extern/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' instead../../../Extern/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Align16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const void*) [with T = unsigned char; bool T_Align16 = true; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer = unsigned char*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type = unsigned int]':../../../Extern/include/cryptopp/secblock.h:247:25: required from 'CryptoPP::SecBlock<T, A>::SecBlock(CryptoPP::SecBlock<T, A>::size_type) [with T = unsigned char; A = CryptoPP::AllocatorWithCleanup<unsigned char, true>; CryptoPP::SecBlock<T, A>::size_type = unsigned int]'../../../Extern/include/cryptopp/modes.h:63:34: required from here../../../Extern/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]../../../Extern/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'CryptoPP::AllocatorBase<unsigned char>' are not found by unqualified lookup../../../Extern/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' instead../../../Extern/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Align16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const void*) [with T = unsigned int; bool T_Align16 = true; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer = unsigned int*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type = unsigned int]':../../../Extern/include/cryptopp/secblock.h:249:29: required from 'CryptoPP::SecBlock<T, A>::SecBlock(const CryptoPP::SecBlock<T, A>&) [with T = unsigned int; A = CryptoPP::AllocatorWithCleanup<unsigned int, true>]'../../../Extern/include/cryptopp/modarith.h:122:20: required from here../../../Extern/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]../../../Extern/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'CryptoPP::AllocatorBase<unsigned int>' are not found by unqualified lookup../../../Extern/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' insteadIn file included from ../../../Extern/include/cryptopp/modes.h:12:0, from cipher.cpp:7:../../../Extern/include/cryptopp/algparam.h: In instantiation of 'void CryptoPP::AlgorithmParametersTemplate<T>::MoveInto(void*) const [with T = CryptoPP::RandomNumberGenerator*]':cipher.cpp:398:1: required from here../../../Extern/include/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable] AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this); ^In file included from ../../../Extern/include/cryptopp/modes.h:8:0, from cipher.cpp:7:../../../Extern/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Align16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const void*) [with T = unsigned int; bool T_Align16 = false; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer = unsigned int*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type = unsigned int]':../../../Extern/include/cryptopp/secblock.h:247:25: required from 'CryptoPP::SecBlock<T, A>::SecBlock(CryptoPP::SecBlock<T, A>::size_type) [with T = unsigned int; A = CryptoPP::AllocatorWithCleanup<unsigned int>; CryptoPP::SecBlock<T, A>::size_type = unsigned int]'../../../Extern/include/cryptopp/rc5.h:22:27: required from 'CryptoPP::BlockCipherFinal<DIR, BASE>::BlockCipherFinal() [with CryptoPP::CipherDir DIR = (CryptoPP::CipherDir)0u; BASE = CryptoPP::RC5::Enc]'../../../Extern/include/cryptopp/misc.h:82:7: required from 'CryptoPP::CipherModeFinalTemplate_CipherHolder<CIPHER, BASE>::CipherModeFinalTemplate_CipherHolder(const byte*, size_t, const byte*) [with CIPHER = CryptoPP::BlockCipherFinal<(CryptoPP::CipherDir)0u, CryptoPP::RC5::Enc>; BASE = CryptoPP::ConcretePolicyHolder<CryptoPP::Empty, CryptoPP::AdditiveCipherTemplate<CryptoPP::AbstractPolicyHolder<CryptoPP::AdditiveCipherAbstractPolicy, CryptoPP::CTR_ModePolicy> > >; byte = unsigned char; size_t = unsigned int]'cipher.cpp:88:64: required from 'CryptoPP::SymmetricCipher* BlockCipherDetail<T>::CreateEncoder(const byte*, size_t, const byte*) const [with T = CryptoPP::RC5; byte = unsigned char; size_t = unsigned int]'cipher.cpp:398:1: required from here../../../Extern/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] CheckSize(n); ^../../../Extern/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'CryptoPP::AllocatorBase<unsigned int>' are not found by unqualified lookup../../../Extern/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' insteadIn file included from ../../../Extern/include/cryptopp/secblock.h:7:0, from ../../../Extern/include/cryptopp/modes.h:8, from cipher.cpp:7:../../../Extern/include/cryptopp/misc.h:548:20: warning: 'std::string CryptoPP::StringNarrow(const wchar_t*, bool)' defined but not used [-Wunused-function] static std::string StringNarrow(const wchar_t *str, bool throwOnError = true) ^gmake: *** [OBJDIR/cipher.o] Error 1root@host:/usr/home/Sources/VANILLA/mainline/game/src #root@host:/usr/home/Sources/VANILLA/mainline/game/src # gmakegmake: Warning: File `Makefile' has modification time 8371 s in the futurecompile cipher.cpp with g++49 -Wall -fuse-linker-plugin -fuse-ld=gold -O2 -m32 -pipe -fexceptions -D_THREAD_SAFE -Wl,-rpath=/usr/local/lib32/metin2 -std=c++11 -static -static-libgcc -static-libstdc++ -Wno-strict-aliasing -g -ggdb -DNDEBUG -ffast-math -funsafe-loop-optimizations -ftracer -fira-loop-pressure -funroll-loops -finline-functions -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-loop-distribution -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-loop-distribute-patterns -ftree-slp-vectorize -fipa-cp-clone -mtune=i686 -march=i686 -mssse3In file included from ../../../Extern/include/cryptopp/secblock.h:7:0, from ../../../Extern/include/cryptopp/modes.h:8, from cipher.cpp:7:../../../Extern/include/cryptopp/algparam.h: In instantiation of 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter(const T&, bool) [with T = std::basic_string<char>]':../../../Extern/include/cryptopp/filters.h:793:132: required from here../../../Extern/include/cryptopp/misc.h:58:118: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable] #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_ASSERT_JOIN(cryptopp_assert_, instance) ^../../../Extern/include/cryptopp/misc.h:61:39: note: in definition of macro 'CRYPTOPP_DO_ASSERT_JOIN' #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y ^../../../Extern/include/cryptopp/misc.h:58:97: note: in expansion of macro 'CRYPTOPP_ASSERT_JOIN' #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_ASSERT_JOIN(cryptopp_assert_, instance) ^../../../Extern/include/cryptopp/misc.h:54:44: note: in expansion of macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE' #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__) ^../../../Extern/include/cryptopp/algparam.h:26:9: note: in expansion of macro 'CRYPTOPP_COMPILE_ASSERT' CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1); ^In file included from ../../../Extern/include/cryptopp/modes.h:8:0, from cipher.cpp:7:../../../Extern/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Align16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const void*) [with T = unsigned char; bool T_Align16 = false; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer = unsigned char*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type = unsigned int]':../../../Extern/include/cryptopp/secblock.h:247:25: required from 'CryptoPP::SecBlock<T, A>::SecBlock(CryptoPP::SecBlock<T, A>::size_type) [with T = unsigned char; A = CryptoPP::AllocatorWithCleanup<unsigned char>; CryptoPP::SecBlock<T, A>::size_type = unsigned int]'../../../Extern/include/cryptopp/algparam.h:17:2: required from here../../../Extern/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] CheckSize(n); ^../../../Extern/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'CryptoPP::AllocatorBase<unsigned char>' are not found by unqualified lookup../../../Extern/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' instead../../../Extern/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Align16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const void*) [with T = unsigned char; bool T_Align16 = true; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer = unsigned char*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type = unsigned int]':../../../Extern/include/cryptopp/secblock.h:247:25: required from 'CryptoPP::SecBlock<T, A>::SecBlock(CryptoPP::SecBlock<T, A>::size_type) [with T = unsigned char; A = CryptoPP::AllocatorWithCleanup<unsigned char, true>; CryptoPP::SecBlock<T, A>::size_type = unsigned int]'../../../Extern/include/cryptopp/modes.h:63:34: required from here../../../Extern/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]../../../Extern/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'CryptoPP::AllocatorBase<unsigned char>' are not found by unqualified lookup../../../Extern/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' instead../../../Extern/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Align16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const void*) [with T = unsigned int; bool T_Align16 = true; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer = unsigned int*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type = unsigned int]':../../../Extern/include/cryptopp/secblock.h:249:29: required from 'CryptoPP::SecBlock<T, A>::SecBlock(const CryptoPP::SecBlock<T, A>&) [with T = unsigned int; A = CryptoPP::AllocatorWithCleanup<unsigned int, true>]'../../../Extern/include/cryptopp/modarith.h:122:20: required from here../../../Extern/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]../../../Extern/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'CryptoPP::AllocatorBase<unsigned int>' are not found by unqualified lookup../../../Extern/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' insteadIn file included from ../../../Extern/include/cryptopp/modes.h:12:0, from cipher.cpp:7:../../../Extern/include/cryptopp/algparam.h: In instantiation of 'void CryptoPP::AlgorithmParametersTemplate<T>::MoveInto(void*) const [with T = CryptoPP::RandomNumberGenerator*]':cipher.cpp:398:1: required from here../../../Extern/include/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable] AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this); ^In file included from ../../../Extern/include/cryptopp/modes.h:8:0, from cipher.cpp:7:../../../Extern/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Align16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const void*) [with T = unsigned int; bool T_Align16 = false; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer = unsigned int*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type = unsigned int]':../../../Extern/include/cryptopp/secblock.h:247:25: required from 'CryptoPP::SecBlock<T, A>::SecBlock(CryptoPP::SecBlock<T, A>::size_type) [with T = unsigned int; A = CryptoPP::AllocatorWithCleanup<unsigned int>; CryptoPP::SecBlock<T, A>::size_type = unsigned int]'../../../Extern/include/cryptopp/rc5.h:22:27: required from 'CryptoPP::BlockCipherFinal<DIR, BASE>::BlockCipherFinal() [with CryptoPP::CipherDir DIR = (CryptoPP::CipherDir)0u; BASE = CryptoPP::RC5::Enc]'../../../Extern/include/cryptopp/misc.h:82:7: required from 'CryptoPP::CipherModeFinalTemplate_CipherHolder<CIPHER, BASE>::CipherModeFinalTemplate_CipherHolder(const byte*, size_t, const byte*) [with CIPHER = CryptoPP::BlockCipherFinal<(CryptoPP::CipherDir)0u, CryptoPP::RC5::Enc>; BASE = CryptoPP::ConcretePolicyHolder<CryptoPP::Empty, CryptoPP::AdditiveCipherTemplate<CryptoPP::AbstractPolicyHolder<CryptoPP::AdditiveCipherAbstractPolicy, CryptoPP::CTR_ModePolicy> > >; byte = unsigned char; size_t = unsigned int]'cipher.cpp:88:64: required from 'CryptoPP::SymmetricCipher* BlockCipherDetail<T>::CreateEncoder(const byte*, size_t, const byte*) const [with T = CryptoPP::RC5; byte = unsigned char; size_t = unsigned int]'cipher.cpp:398:1: required from here../../../Extern/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] CheckSize(n); ^../../../Extern/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'CryptoPP::AllocatorBase<unsigned int>' are not found by unqualified lookup../../../Extern/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' insteadIn file included from ../../../Extern/include/cryptopp/secblock.h:7:0, from ../../../Extern/include/cryptopp/modes.h:8, from cipher.cpp:7:../../../Extern/include/cryptopp/misc.h:548:20: warning: 'std::string CryptoPP::StringNarrow(const wchar_t*, bool)' defined but not used [-Wunused-function] static std::string StringNarrow(const wchar_t *str, bool throwOnError = true) ^gmake: *** [OBJDIR/cipher.o] Error 1root@host:/usr/home/Sources/VANILLA/mainline/game/src #root@host:/usr/home/Sources/VANILLA/mainline/game/src # gmakegmake: Warning: File `Makefile' has modification time 8157 s in the futurecompile cipher.cpp with g++49 -Wall -fuse-linker-plugin -fuse-ld=gold -O2 -m32 -pipe -fexceptions -D_THREAD_SAFE -Wl,-rpath=/usr/local/lib32/metin2 -std=c++11 -static -static-libgcc -static-libstdc++ -Wno-strict-aliasing -g -ggdb -DNDEBUG -ffast-math -funsafe-loop-optimizations -ftracer -fira-loop-pressure -funroll-loops -finline-functions -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-loop-distribution -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-loop-distribute-patterns -ftree-slp-vectorize -fipa-cp-clone -mtune=i686 -march=i686 -mssse3In file included from ../../../Extern/include/cryptopp/secblock.h:7:0, from ../../../Extern/include/cryptopp/modes.h:8, from cipher.cpp:7:../../../Extern/include/cryptopp/algparam.h: In instantiation of 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter(const T&, bool) [with T = std::basic_string<char>]':../../../Extern/include/cryptopp/filters.h:793:132: required from here../../../Extern/include/cryptopp/misc.h:58:118: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable] #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_ASSERT_JOIN(cryptopp_assert_, instance) ^../../../Extern/include/cryptopp/misc.h:61:39: note: in definition of macro 'CRYPTOPP_DO_ASSERT_JOIN' #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y ^../../../Extern/include/cryptopp/misc.h:58:97: note: in expansion of macro 'CRYPTOPP_ASSERT_JOIN' #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_ASSERT_JOIN(cryptopp_assert_, instance) ^../../../Extern/include/cryptopp/misc.h:54:44: note: in expansion of macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE' #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__) ^../../../Extern/include/cryptopp/algparam.h:26:9: note: in expansion of macro 'CRYPTOPP_COMPILE_ASSERT' CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1); ^In file included from ../../../Extern/include/cryptopp/modes.h:8:0, from cipher.cpp:7:../../../Extern/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Align16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const void*) [with T = unsigned char; bool T_Align16 = false; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer = unsigned char*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type = unsigned int]':../../../Extern/include/cryptopp/secblock.h:247:25: required from 'CryptoPP::SecBlock<T, A>::SecBlock(CryptoPP::SecBlock<T, A>::size_type) [with T = unsigned char; A = CryptoPP::AllocatorWithCleanup<unsigned char>; CryptoPP::SecBlock<T, A>::size_type = unsigned int]'../../../Extern/include/cryptopp/algparam.h:17:2: required from here../../../Extern/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] CheckSize(n); ^../../../Extern/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'CryptoPP::AllocatorBase<unsigned char>' are not found by unqualified lookup../../../Extern/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' instead../../../Extern/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Align16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const void*) [with T = unsigned char; bool T_Align16 = true; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer = unsigned char*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type = unsigned int]':../../../Extern/include/cryptopp/secblock.h:247:25: required from 'CryptoPP::SecBlock<T, A>::SecBlock(CryptoPP::SecBlock<T, A>::size_type) [with T = unsigned char; A = CryptoPP::AllocatorWithCleanup<unsigned char, true>; CryptoPP::SecBlock<T, A>::size_type = unsigned int]'../../../Extern/include/cryptopp/modes.h:63:34: required from here../../../Extern/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]../../../Extern/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'CryptoPP::AllocatorBase<unsigned char>' are not found by unqualified lookup../../../Extern/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' instead../../../Extern/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Align16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const void*) [with T = unsigned int; bool T_Align16 = true; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer = unsigned int*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type = unsigned int]':../../../Extern/include/cryptopp/secblock.h:249:29: required from 'CryptoPP::SecBlock<T, A>::SecBlock(const CryptoPP::SecBlock<T, A>&) [with T = unsigned int; A = CryptoPP::AllocatorWithCleanup<unsigned int, true>]'../../../Extern/include/cryptopp/modarith.h:122:20: required from here../../../Extern/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]../../../Extern/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'CryptoPP::AllocatorBase<unsigned int>' are not found by unqualified lookup../../../Extern/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' insteadIn file included from ../../../Extern/include/cryptopp/modes.h:12:0, from cipher.cpp:7:../../../Extern/include/cryptopp/algparam.h: In instantiation of 'void CryptoPP::AlgorithmParametersTemplate<T>::MoveInto(void*) const [with T = CryptoPP::RandomNumberGenerator*]':cipher.cpp:398:1: required from here../../../Extern/include/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable] AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this); ^In file included from ../../../Extern/include/cryptopp/modes.h:8:0, from cipher.cpp:7:../../../Extern/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Align16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const void*) [with T = unsigned int; bool T_Align16 = false; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer = unsigned int*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type = unsigned int]':../../../Extern/include/cryptopp/secblock.h:247:25: required from 'CryptoPP::SecBlock<T, A>::SecBlock(CryptoPP::SecBlock<T, A>::size_type) [with T = unsigned int; A = CryptoPP::AllocatorWithCleanup<unsigned int>; CryptoPP::SecBlock<T, A>::size_type = unsigned int]'../../../Extern/include/cryptopp/rc5.h:22:27: required from 'CryptoPP::BlockCipherFinal<DIR, BASE>::BlockCipherFinal() [with CryptoPP::CipherDir DIR = (CryptoPP::CipherDir)0u; BASE = CryptoPP::RC5::Enc]'../../../Extern/include/cryptopp/misc.h:82:7: required from 'CryptoPP::CipherModeFinalTemplate_CipherHolder<CIPHER, BASE>::CipherModeFinalTemplate_CipherHolder(const byte*, size_t, const byte*) [with CIPHER = CryptoPP::BlockCipherFinal<(CryptoPP::CipherDir)0u, CryptoPP::RC5::Enc>; BASE = CryptoPP::ConcretePolicyHolder<CryptoPP::Empty, CryptoPP::AdditiveCipherTemplate<CryptoPP::AbstractPolicyHolder<CryptoPP::AdditiveCipherAbstractPolicy, CryptoPP::CTR_ModePolicy> > >; byte = unsigned char; size_t = unsigned int]'cipher.cpp:88:64: required from 'CryptoPP::SymmetricCipher* BlockCipherDetail<T>::CreateEncoder(const byte*, size_t, const byte*) const [with T = CryptoPP::RC5; byte = unsigned char; size_t = unsigned int]'cipher.cpp:398:1: required from here../../../Extern/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] CheckSize(n); ^../../../Extern/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'CryptoPP::AllocatorBase<unsigned int>' are not found by unqualified lookup../../../Extern/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' insteadIn file included from ../../../Extern/include/cryptopp/secblock.h:7:0, from ../../../Extern/include/cryptopp/modes.h:8, from cipher.cpp:7:../../../Extern/include/cryptopp/misc.h:548:20: warning: 'std::string CryptoPP::StringNarrow(const wchar_t*, bool)' defined but not used [-Wunused-function] static std::string StringNarrow(const wchar_t *str, bool throwOnError = true) ^gmake: *** [OBJDIR/cipher.o] Error 1root@host:/usr/home/Sources/VANILLA/mainline/game/src # cd /usr/home/Sources/VANILLA/Extern/cryptopproot@host:/usr/home/Sources/VANILLA/Extern/cryptopp # gmake cleanrm -f cryptest.exe ../lib/libcryptopp.a shacal2.o seed.o nbtheory.o zinflate.o gf2n.o socketft.o oaep.o cryptlib_bds.o zdeflate.o default.o twofish.o safer.o iterhash.o wait.o adler32.o ecp.o filters.o dh2.o ida.o zlib.o elgamal.o crc.o algparam.o gf2_32.o bfinit.o luc.o rijndael.o eax.o network.o sha.o camellia.o emsa2.o pkcspad.o squaretb.o idea.o des.o authenc.o hmac.o gf256.o xtrcrypt.o simple.o mars.o whrlpool.o rc5.o fipstest.o queue.o hrtimer.o square.o hex.o tiger.o dsa.o eprecomp.o fips140.o dll.o dessp.o integer.o files.o base32.o vmac.o blowfish.o sharkbox.o randpool.o esign.o dh.o arc4.o osrng.o skipjack.o wake.o xtr.o sosemanuk.o md2.o ttmac.o cpu.o rabin.o gzip.o 3way.o rdtables.o rsa.o cbcmac.o marss.o tftables.o gost.o md5.o panama.o modes.o strciphr.o casts.o algebra.o cryptlib.o gfpcrypt.o ec2n.o polynomi.o gcm.o basecode.o rc6.o mqueue.o blumshub.o misc.o channels.o rng.o cast.o rw.o winpipes.o asn.o md4.o pssr.o pch.o ccm.o mqv.o tigertab.o rc2.o shark.o seal.o salsa.o trdlocal.o pubkey.o ripemd.o eccrypto.o serpent.o tea.o base64.o cmac.o bench.o bench2.o test.o validat1.o validat2.o validat3.o adhoc.o datatest.o regtest.o fipsalgt.o dlltest.o cryptopp.dll libcryptopp.dll.a libcryptopp.import.a cryptest.import.exe dlltest.exe algebra.export.o algparam.export.o asn.export.o basecode.export.o cbcmac.export.o channels.export.o cryptlib.export.o des.export.o dessp.export.o dh.export.o dll.export.o dsa.export.o ec2n.export.o eccrypto.export.o ecp.export.o eprecomp.export.o files.export.o filters.export.o fips140.export.o fipstest.export.o gf2n.export.o gfpcrypt.export.o hex.export.o hmac.export.o integer.export.o iterhash.export.o misc.export.o modes.export.o modexppc.export.o mqueue.export.o nbtheory.export.o oaep.export.o osrng.export.o pch.export.o pkcspad.export.o pubkey.export.o queue.export.o randpool.export.o rdtables.export.o rijndael.export.o rng.export.o rsa.export.o sha.export.o simple.export.o skipjack.export.o strciphr.export.o trdlocal.export.o shacal2.import.o seed.import.o nbtheory.import.o zinflate.import.o gf2n.import.o socketft.import.o oaep.import.o cryptlib_bds.import.o zdeflate.import.o default.import.o twofish.import.o safer.import.o iterhash.import.o wait.import.o adler32.import.o ecp.import.o filters.import.o dh2.import.o ida.import.o zlib.import.o elgamal.import.o crc.import.o algparam.import.o gf2_32.import.o bfinit.import.o luc.import.o rijndael.import.o eax.import.o network.import.o sha.import.o camellia.import.o emsa2.import.o pkcspad.import.o squaretb.import.o idea.import.o des.import.o authenc.import.o hmac.import.o gf256.import.o xtrcrypt.import.o simple.import.o mars.import.o whrlpool.import.o rc5.import.o fipstest.import.o queue.import.o hrtimer.import.o square.import.o hex.import.o tiger.import.o dsa.import.o eprecomp.import.o fips140.import.o dll.import.o dessp.import.o integer.import.o files.import.o base32.import.o vmac.import.o blowfish.import.o sharkbox.import.o randpool.import.o esign.import.o dh.import.o arc4.import.o osrng.import.o skipjack.import.o wake.import.o xtr.import.o sosemanuk.import.o md2.import.o ttmac.import.o cpu.import.o rabin.import.o gzip.import.o 3way.import.o rdtables.import.o rsa.import.o cbcmac.import.o marss.import.o tftables.import.o gost.import.o md5.import.o panama.import.o modes.import.o strciphr.import.o casts.import.o algebra.import.o cryptlib.import.o gfpcrypt.import.o ec2n.import.o polynomi.import.o gcm.import.o basecode.import.o rc6.import.o mqueue.import.o blumshub.import.o misc.import.o channels.import.o rng.import.o cast.import.o rw.import.o winpipes.import.o asn.import.o md4.import.o pssr.import.o pch.import.o ccm.import.o mqv.import.o tigertab.import.o rc2.import.o shark.import.o seal.import.o salsa.import.o trdlocal.import.o pubkey.import.o ripemd.import.o eccrypto.import.o serpent.import.o tea.import.o base64.import.o cmac.import.o bench.import.o bench2.import.o test.import.o validat1.import.o validat2.import.o validat3.import.o adhoc.import.o datatest.import.o regtest.import.o fipsalgt.import.o dlltest.import.o dlltest.dllonly.oroot@host:/usr/home/Sources/VANILLA/Extern/cryptopp # gmakeg++ -DNDEBUG -g -O2 -I../include/cryptopp -I. -pipe -c shacal2.cppg++ -DNDEBUG -g -O2 -I../include/cryptopp -I. -pipe -c seed.cppg++ -DNDEBUG -g -O2 -I../include/cryptopp -I. -pipe -c integer.cppg++ -DNDEBUG -g -O2 -I../include/cryptopp -I. -pipe -c rc6.cppgmake: Warning: File `gf2n.cpp' has modification time 10619 s in the futureg++ -DNDEBUG -g -O2 -I../include/cryptopp -I. -pipe -c gf2n.cppg++ -DNDEBUG -g -O2 -I../include/cryptopp -I. -pipe -c md4.cppg++ -DNDEBUG -g -O2 -I../include/cryptopp -I. -pipe -c socketft.cppg++ -DNDEBUG -g -O2 -I../include/cryptopp -I. -pipe -c xtr.cppg++ -DNDEBUG -g -O2 -I../include/cryptopp -I. -pipe -c luc.cppg++ -DNDEBUG -g -O2 -I../include/cryptopp -I. -pipe -c sosemanuk.cppg++ -DNDEBUG -g -O2 -I../include/cryptopp -I. -pipe -c md2.cppg++ -DNDEBUG -g -O2 -I../include/cryptopp -I. -pipe -c fipstest.cppfipstest.cpp: In function 'bool CryptoPP::IntegrityCheckModule(const char*, const byte*, CryptoPP::SecByteBlock*, long unsigned int*)':fipstest.cpp:248: error: '_ptr' is not a member of 'std'fipstest.cpp:248: error: expected primary-expression before '>' tokenfipstest.cpp:248: error: 'mac' was not declared in this scopegmake: *** [fipstest.o] Error 1root@host:/usr/home/Sources/VANILLA/Extern/cryptopp # cleanclean: Command not found.root@host:/usr/home/Sources/VANILLA/Extern/cryptopp # clearroot@host:/usr/home/Sources/VANILLA/Extern/cryptopp # cd /usr/home/Sources/VANILLA/mainline/game/srcroot@host:/usr/home/Sources/VANILLA/mainline/game/src # gmakegmake: Warning: File `Makefile' has modification time 7840 s in the futurecompile cipher.cpp with g++49 -Wall -fuse-linker-plugin -fuse-ld=gold -O2 -m32 -pipe -fexceptions -D_THREAD_SAFE -Wl,-rpath=/usr/local/lib32/metin2 -std=c++11 -static -static-libgcc -static-libstdc++ -Wno-strict-aliasing -g -ggdb -DNDEBUG -ffast-math -funsafe-loop-optimizations -ftracer -fira-loop-pressure -funroll-loops -finline-functions -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-loop-distribution -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-loop-distribute-patterns -ftree-slp-vectorize -fipa-cp-clone -mtune=i686 -march=i686 -mssse3In file included from ../../../Extern/include/cryptopp/secblock.h:7:0, from ../../../Extern/include/cryptopp/modes.h:8, from cipher.cpp:7:../../../Extern/include/cryptopp/algparam.h: In instantiation of 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter(const T&, bool) [with T = std::basic_string<char>]':../../../Extern/include/cryptopp/filters.h:793:132: required from here../../../Extern/include/cryptopp/misc.h:58:118: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable] #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_ASSERT_JOIN(cryptopp_assert_, instance) ^../../../Extern/include/cryptopp/misc.h:61:39: note: in definition of macro 'CRYPTOPP_DO_ASSERT_JOIN' #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y ^../../../Extern/include/cryptopp/misc.h:58:97: note: in expansion of macro 'CRYPTOPP_ASSERT_JOIN' #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_ASSERT_JOIN(cryptopp_assert_, instance) ^../../../Extern/include/cryptopp/misc.h:54:44: note: in expansion of macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE' #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__) ^../../../Extern/include/cryptopp/algparam.h:26:9: note: in expansion of macro 'CRYPTOPP_COMPILE_ASSERT' CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1); ^In file included from ../../../Extern/include/cryptopp/modes.h:8:0, from cipher.cpp:7:../../../Extern/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Align16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const void*) [with T = unsigned char; bool T_Align16 = false; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer = unsigned char*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type = unsigned int]':../../../Extern/include/cryptopp/secblock.h:247:25: required from 'CryptoPP::SecBlock<T, A>::SecBlock(CryptoPP::SecBlock<T, A>::size_type) [with T = unsigned char; A = CryptoPP::AllocatorWithCleanup<unsigned char>; CryptoPP::SecBlock<T, A>::size_type = unsigned int]'../../../Extern/include/cryptopp/algparam.h:17:2: required from here../../../Extern/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] CheckSize(n); ^../../../Extern/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'CryptoPP::AllocatorBase<unsigned char>' are not found by unqualified lookup../../../Extern/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' instead../../../Extern/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Align16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const void*) [with T = unsigned char; bool T_Align16 = true; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer = unsigned char*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type = unsigned int]':../../../Extern/include/cryptopp/secblock.h:247:25: required from 'CryptoPP::SecBlock<T, A>::SecBlock(CryptoPP::SecBlock<T, A>::size_type) [with T = unsigned char; A = CryptoPP::AllocatorWithCleanup<unsigned char, true>; CryptoPP::SecBlock<T, A>::size_type = unsigned int]'../../../Extern/include/cryptopp/modes.h:63:34: required from here../../../Extern/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]../../../Extern/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'CryptoPP::AllocatorBase<unsigned char>' are not found by unqualified lookup../../../Extern/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' instead../../../Extern/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Align16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const void*) [with T = unsigned int; bool T_Align16 = true; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer = unsigned int*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type = unsigned int]':../../../Extern/include/cryptopp/secblock.h:249:29: required from 'CryptoPP::SecBlock<T, A>::SecBlock(const CryptoPP::SecBlock<T, A>&) [with T = unsigned int; A = CryptoPP::AllocatorWithCleanup<unsigned int, true>]'../../../Extern/include/cryptopp/modarith.h:122:20: required from here../../../Extern/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]../../../Extern/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'CryptoPP::AllocatorBase<unsigned int>' are not found by unqualified lookup../../../Extern/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' insteadIn file included from ../../../Extern/include/cryptopp/modes.h:12:0, from cipher.cpp:7:../../../Extern/include/cryptopp/algparam.h: In instantiation of 'void CryptoPP::AlgorithmParametersTemplate<T>::MoveInto(void*) const [with T = CryptoPP::RandomNumberGenerator*]':cipher.cpp:398:1: required from here../../../Extern/include/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable] AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this); ^In file included from ../../../Extern/include/cryptopp/modes.h:8:0, from cipher.cpp:7:../../../Extern/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Align16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const void*) [with T = unsigned int; bool T_Align16 = false; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer = unsigned int*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type = unsigned int]':../../../Extern/include/cryptopp/secblock.h:247:25: required from 'CryptoPP::SecBlock<T, A>::SecBlock(CryptoPP::SecBlock<T, A>::size_type) [with T = unsigned int; A = CryptoPP::AllocatorWithCleanup<unsigned int>; CryptoPP::SecBlock<T, A>::size_type = unsigned int]'../../../Extern/include/cryptopp/rc5.h:22:27: required from 'CryptoPP::BlockCipherFinal<DIR, BASE>::BlockCipherFinal() [with CryptoPP::CipherDir DIR = (CryptoPP::CipherDir)0u; BASE = CryptoPP::RC5::Enc]'../../../Extern/include/cryptopp/misc.h:82:7: required from 'CryptoPP::CipherModeFinalTemplate_CipherHolder<CIPHER, BASE>::CipherModeFinalTemplate_CipherHolder(const byte*, size_t, const byte*) [with CIPHER = CryptoPP::BlockCipherFinal<(CryptoPP::CipherDir)0u, CryptoPP::RC5::Enc>; BASE = CryptoPP::ConcretePolicyHolder<CryptoPP::Empty, CryptoPP::AdditiveCipherTemplate<CryptoPP::AbstractPolicyHolder<CryptoPP::AdditiveCipherAbstractPolicy, CryptoPP::CTR_ModePolicy> > >; byte = unsigned char; size_t = unsigned int]'cipher.cpp:88:64: required from 'CryptoPP::SymmetricCipher* BlockCipherDetail<T>::CreateEncoder(const byte*, size_t, const byte*) const [with T = CryptoPP::RC5; byte = unsigned char; size_t = unsigned int]'cipher.cpp:398:1: required from here../../../Extern/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] CheckSize(n); ^../../../Extern/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'CryptoPP::AllocatorBase<unsigned int>' are not found by unqualified lookup../../../Extern/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' insteadIn file included from ../../../Extern/include/cryptopp/secblock.h:7:0, from ../../../Extern/include/cryptopp/modes.h:8, from cipher.cpp:7:../../../Extern/include/cryptopp/misc.h:548:20: warning: 'std::string CryptoPP::StringNarrow(const wchar_t*, bool)' defined but not used [-Wunused-function] static std::string StringNarrow(const wchar_t *str, bool throwOnError = true) ^gmake: *** [OBJDIR/cipher.o] Error 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now