cand incerc sa compilez dupa ceva timp primesc eroarea asta
In file included from /usr/include/cryptopp/modes.h:8:0,
from cipher.cpp:7:
/usr/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithClea nup<T, T_Align16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const void*) [with T = unsigned char; bool T_Align1 6 = false; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer = unsigned char*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_ty pe = unsigned int]':
/usr/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]'
/usr/include/cryptopp/algparam.h:17:2: required from here
/usr/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-de pendent lookup at the point of instantiation [-fpermissive]
CheckSize(n);
^
/usr/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'CryptoPP::AllocatorBase<unsigned char>' are not found by u nqualified lookup
/usr/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' instead
/usr/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithClea nup<T, T_Align16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const void*) [with T = unsigned char; bool T_Align1 6 = true; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer = unsigned char*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_typ e = unsigned int]':
/usr/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]'
/usr/include/cryptopp/modes.h:63:34: required from here
/usr/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-de pendent lookup at the point of instantiation [-fpermissive]
/usr/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'CryptoPP::AllocatorBase<unsigned char>' are not found by u nqualified lookup
/usr/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' instead
/usr/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithClea nup<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]':
/usr/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>]'
/usr/include/cryptopp/modarith.h:122:20: required from here
/usr/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-de pendent lookup at the point of instantiation [-fpermissive]
/usr/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'CryptoPP::AllocatorBase<unsigned int>' are not found by un qualified lookup
/usr/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' instead
/usr/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithClea nup<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]':
/usr/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]'
/usr/include/cryptopp/rc5.h:22:27: required from 'CryptoPP::BlockCipherFinal<DIR, BASE>::BlockCipherFinal() [with CryptoPP::CipherDir DIR = (CryptoPP::CipherDir)0u; BASE = CryptoPP::RC5::Enc]'
/usr/include/cryptopp/misc.h:82:7: required from 'CryptoPP::CipherModeFinalTemplate_CipherHolder<CIPHER, BASE>::CipherModeFinalTemplat e_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::Additi veCipherAbstractPolicy, 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*) cons t [with T = CryptoPP::RC5; byte = unsigned char; size_t = unsigned int]'
cipher.cpp:398:1: required from here
/usr/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-de pendent lookup at the point of instantiation [-fpermissive]
/usr/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'CryptoPP::AllocatorBase<unsigned int>' are not found by un qualified lookup
/usr/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' instead
gmake: *** [../../bin/objdir/game/cipher.o] Error 1
gmake: *** Waiting for unfinished jobs....
^Cgmake: *** Deleting file `../../bin/objdir/game/dungeon.o'
gmake: *** Deleting file `../../bin/objdir/game/cmd_general.o'
gmake: *** Deleting file `../../bin/objdir/game/char_state.o'
gmake: *** Deleting file `../../bin/objdir/game/char_skill.o'
gmake: *** Deleting file `../../bin/objdir/game/char_quickslot.o'
gmake: *** Deleting file `../../bin/objdir/game/char_horse.o'
gmake: *** Deleting file `../../bin/objdir/game/char_change_empire.o'
gmake: *** Deleting file `../../bin/objdir/game/char_battle.o'
gmake: *** Deleting file `../../bin/objdir/game/char_affect.o'
gmake: *** Deleting file `../../bin/objdir/game/char.o'
gmake: *** Deleting file `../../bin/objdir/game/castle.o'
gmake: *** Deleting file `../../bin/objdir/game/building.o'
gmake: *** Deleting file `../../bin/objdir/game/battle.o'
gmake: *** Deleting file `../../bin/objdir/game/arena.o'
gmake: *** Deleting file `../../bin/objdir/game/OXEvent.o'
gmake: *** [../../bin/objdir/game/OXEvent.o] Interrupt: 2
gmake: *** [../../bin/objdir/game/char_state.o] Interrupt: 2
gmake: *** [../../bin/objdir/game/char_horse.o] Interrupt: 2
gmake: *** [../../bin/objdir/game/char_change_empire.o] Interrupt: 2
gmake: *** [../../bin/objdir/game/char_battle.o] Interrupt: 2
gmake: *** [../../bin/objdir/game/char_affect.o] Interrupt: 2
gmake: *** [../../bin/objdir/game/char.o] Interrupt: 2
gmake: *** [../../bin/objdir/game/castle.o] Interrupt: 2
gmake: *** [../../bin/objdir/game/building.o] Interrupt: 2
gmake: *** [../../bin/objdir/game/battle.o] Interrupt: 2
gmake: *** [../../bin/objdir/game/arena.o] Interrupt: 2
gmake: *** [../../bin/objdir/game/char_quickslot.o] Interrupt: 2
gmake: *** [../../bin/objdir/game/char_skill.o] Interrupt: 2
gmake: *** [../../bin/objdir/game/cmd_general.o] Interrupt: 2
gmake: *** [../../bin/objdir/game/dungeon.o] Interrupt: 2
from cipher.cpp:7:
/usr/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithClea nup<T, T_Align16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const void*) [with T = unsigned char; bool T_Align1 6 = false; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer = unsigned char*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_ty pe = unsigned int]':
/usr/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]'
/usr/include/cryptopp/algparam.h:17:2: required from here
/usr/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-de pendent lookup at the point of instantiation [-fpermissive]
CheckSize(n);
^
/usr/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'CryptoPP::AllocatorBase<unsigned char>' are not found by u nqualified lookup
/usr/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' instead
/usr/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithClea nup<T, T_Align16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const void*) [with T = unsigned char; bool T_Align1 6 = true; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer = unsigned char*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_typ e = unsigned int]':
/usr/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]'
/usr/include/cryptopp/modes.h:63:34: required from here
/usr/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-de pendent lookup at the point of instantiation [-fpermissive]
/usr/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'CryptoPP::AllocatorBase<unsigned char>' are not found by u nqualified lookup
/usr/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' instead
/usr/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithClea nup<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]':
/usr/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>]'
/usr/include/cryptopp/modarith.h:122:20: required from here
/usr/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-de pendent lookup at the point of instantiation [-fpermissive]
/usr/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'CryptoPP::AllocatorBase<unsigned int>' are not found by un qualified lookup
/usr/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' instead
/usr/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithClea nup<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]':
/usr/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]'
/usr/include/cryptopp/rc5.h:22:27: required from 'CryptoPP::BlockCipherFinal<DIR, BASE>::BlockCipherFinal() [with CryptoPP::CipherDir DIR = (CryptoPP::CipherDir)0u; BASE = CryptoPP::RC5::Enc]'
/usr/include/cryptopp/misc.h:82:7: required from 'CryptoPP::CipherModeFinalTemplate_CipherHolder<CIPHER, BASE>::CipherModeFinalTemplat e_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::Additi veCipherAbstractPolicy, 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*) cons t [with T = CryptoPP::RC5; byte = unsigned char; size_t = unsigned int]'
cipher.cpp:398:1: required from here
/usr/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-de pendent lookup at the point of instantiation [-fpermissive]
/usr/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'CryptoPP::AllocatorBase<unsigned int>' are not found by un qualified lookup
/usr/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' instead
gmake: *** [../../bin/objdir/game/cipher.o] Error 1
gmake: *** Waiting for unfinished jobs....
^Cgmake: *** Deleting file `../../bin/objdir/game/dungeon.o'
gmake: *** Deleting file `../../bin/objdir/game/cmd_general.o'
gmake: *** Deleting file `../../bin/objdir/game/char_state.o'
gmake: *** Deleting file `../../bin/objdir/game/char_skill.o'
gmake: *** Deleting file `../../bin/objdir/game/char_quickslot.o'
gmake: *** Deleting file `../../bin/objdir/game/char_horse.o'
gmake: *** Deleting file `../../bin/objdir/game/char_change_empire.o'
gmake: *** Deleting file `../../bin/objdir/game/char_battle.o'
gmake: *** Deleting file `../../bin/objdir/game/char_affect.o'
gmake: *** Deleting file `../../bin/objdir/game/char.o'
gmake: *** Deleting file `../../bin/objdir/game/castle.o'
gmake: *** Deleting file `../../bin/objdir/game/building.o'
gmake: *** Deleting file `../../bin/objdir/game/battle.o'
gmake: *** Deleting file `../../bin/objdir/game/arena.o'
gmake: *** Deleting file `../../bin/objdir/game/OXEvent.o'
gmake: *** [../../bin/objdir/game/OXEvent.o] Interrupt: 2
gmake: *** [../../bin/objdir/game/char_state.o] Interrupt: 2
gmake: *** [../../bin/objdir/game/char_horse.o] Interrupt: 2
gmake: *** [../../bin/objdir/game/char_change_empire.o] Interrupt: 2
gmake: *** [../../bin/objdir/game/char_battle.o] Interrupt: 2
gmake: *** [../../bin/objdir/game/char_affect.o] Interrupt: 2
gmake: *** [../../bin/objdir/game/char.o] Interrupt: 2
gmake: *** [../../bin/objdir/game/castle.o] Interrupt: 2
gmake: *** [../../bin/objdir/game/building.o] Interrupt: 2
gmake: *** [../../bin/objdir/game/battle.o] Interrupt: 2
gmake: *** [../../bin/objdir/game/arena.o] Interrupt: 2
gmake: *** [../../bin/objdir/game/char_quickslot.o] Interrupt: 2
gmake: *** [../../bin/objdir/game/char_skill.o] Interrupt: 2
gmake: *** [../../bin/objdir/game/cmd_general.o] Interrupt: 2
gmake: *** [../../bin/objdir/game/dungeon.o] Interrupt: 2


