C++ Game

Înainte de a posta o problemă, caută în acest forum și poate găsești rezolvare.
Avatar utilizator
K3nnTHD
Nivel 2

Nivel 2
Mesaje: 192
Membru din: 29 Noi 2013, 20:29
Aprecieri: 66  
Mulţumiri: 3  
 Contact:
Medalii

*Problemă:DB se compileaza cu success, cand incerc sa compilez game la final imi da aceasta erare: gmake: *** [Makefile:74: .obj_game/cipher.o] Error 1
gmake: *** Waiting for unfinished jobs....
Tipologie server:pvm
*Resursă folosită:TWIX 1.80
*ServerFiles utilizat:TwiX 1.80
*Syserr:
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' 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 = 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]
../../../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' instead
gmake: *** [Makefile:74: .obj_game/cipher.o] Error 1
gmake: *** Waiting for unfinished jobs....

Poză:Imagine
*Detalii suplimentare: Sursa o compilez pe FreeBSD 11.2 32bit cu gcc4.9 si am recompilat toate librariile inclusive cryptopp
Avatar utilizator
Moț
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 2825
Membru din: 03 Apr 2017, 15:00
Aprecieri: 216  
Mulţumiri: 3040  
Discord: Copiază ID
Medalii

Fa update la cryptopp pentru gcc49 sau fixează erorile din acea versiune. Presupun că I versiunea 5.6.1

[ Postat de pe Android ] Imagine
Pentru acest mesaj, Moț for the post:
K3nnTHD
Imagine
Afișează semnătura
Avatar utilizator
K3nnTHD
Nivel 2

Nivel 2
Mesaje: 192
Membru din: 29 Noi 2013, 20:29
Aprecieri: 66  
Mulţumiri: 3  
 Contact:
Medalii

Meeting scrie:Fa update la cryptopp pentru gcc49 sau fixează erorile din acea versiune. Presupun că I versiunea 5.6.1

[ Postat de pe Android ] Imagine

este updatat e versiune cryptopp700
Avatar utilizator
Moț
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 2825
Membru din: 03 Apr 2017, 15:00
Aprecieri: 216  
Mulţumiri: 3040  
Discord: Copiază ID
Medalii

Pai ai pus headerele de la cryptopp în include .

[ Postat de pe Android ] Imagine
Imagine
Afișează semnătura
Avatar utilizator
K3nnTHD
Nivel 2

Nivel 2
Mesaje: 192
Membru din: 29 Noi 2013, 20:29
Aprecieri: 66  
Mulţumiri: 3  
 Contact:
Medalii

da
Avatar utilizator
Moț
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 2825
Membru din: 03 Apr 2017, 15:00
Aprecieri: 216  
Mulţumiri: 3040  
Discord: Copiază ID
Medalii

Îi include vechii mane ca la 700 nu apare.
Poți folosi pointerul 'this' ai și în eroare notație cum sa folosești . "this->CheckSize" .

[ Postat de pe Android ] Imagine
Pentru acest mesaj, Moț for the post:
K3nnTHD
Imagine
Afișează semnătura
Avatar utilizator
K3nnTHD
Nivel 2

Nivel 2
Mesaje: 192
Membru din: 29 Noi 2013, 20:29
Aprecieri: 66  
Mulţumiri: 3  
 Contact:
Medalii

da ai dreptate, scz :D am instalat cryptopp in sistem si nu am modificat directia din makefile

re: acuma am urmatorile erori:
In file included from desc.h:7:0,
from arena.cpp:5:
cipher.h:31:33: error: expected primary-expression before ')' token
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
In file included from desc.h:7:0,
from desc.cpp:4:
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31:28: error: 'byte' was not declared in this scope
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:28: note: suggested alternative:
In file included from desc.h:7:0,
from desc_manager.cpp:5:
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31:28: error: 'byte' was not declared in this scope
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:28: note: suggested alternative:
gmake: *** [Makefile:73: .obj_game/desc_p2p.o] Error 1
cipher.h:31:43: error: expected primary-expression before 'const'
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from desc_manager.cpp:5:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from desc.cpp:4:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from desc_manager.cpp:5:
cipher.h:31:33: error: expected primary-expression before ')' token
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
In file included from desc.h:7:0,
from desc.cpp:4:
cipher.h:31:33: error: expected primary-expression before ')' token
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected primary-expression before 'const'
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected primary-expression before 'const'
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected ')' before 'const'
cipher.h:31:43: error: expected ')' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39:28: error: 'byte' was not declared in this scope
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39:28: error: 'byte' was not declared in this scope
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:28: note: suggested alternative:
cipher.h:39:28: note: suggested alternative:
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from desc_manager.cpp:5:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from desc.cpp:4:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from desc_manager.cpp:5:
cipher.h:39:33: error: expected primary-expression before ')' token
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
In file included from desc.h:7:0,
from desc.cpp:4:
cipher.h:39:33: error: expected primary-expression before ')' token
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected primary-expression before 'const'
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected primary-expression before 'const'
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected ')' before 'const'
cipher.h:39:43: error: expected ')' before 'const'
gmake: *** Waiting for unfinished jobs....
cipher.h:31:43: error: expected ')' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39:28: error: 'byte' was not declared in this scope
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:28: note: suggested alternative:
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from arena.cpp:5:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from arena.cpp:5:
cipher.h:39:33: error: expected primary-expression before ')' token
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected primary-expression before 'const'
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected ')' before 'const'
In file included from desc.h:7:0,
from entity.cpp:3:
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31:28: error: 'byte' was not declared in this scope
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:28: note: suggested alternative:
In file included from desc.h:7:0,
from char_skill.cpp:10:
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31:28: error: 'byte' was not declared in this scope
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:28: note: suggested alternative:
gmake: *** [Makefile:73: .obj_game/desc_manager.o] Error 1
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from entity.cpp:3:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from entity.cpp:3:
cipher.h:31:33: error: expected primary-expression before ')' token
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected primary-expression before 'const'
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected ')' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39:28: error: 'byte' was not declared in this scope
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:28: note: suggested alternative:
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from entity.cpp:3:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from entity.cpp:3:
cipher.h:39:33: error: expected primary-expression before ')' token
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected primary-expression before 'const'
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected ')' before 'const'
In file included from desc.h:7:0,
from exchange.cpp:4:
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31:28: error: 'byte' was not declared in this scope
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:28: note: suggested alternative:
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from exchange.cpp:4:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from exchange.cpp:4:
cipher.h:31:33: error: expected primary-expression before ')' token
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected primary-expression before 'const'
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected ')' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39:28: error: 'byte' was not declared in this scope
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:28: note: suggested alternative:
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from exchange.cpp:4:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from exchange.cpp:4:
cipher.h:39:33: error: expected primary-expression before ')' token
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected primary-expression before 'const'
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected ')' before 'const'
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from char_skill.cpp:10:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from char_skill.cpp:10:
cipher.h:31:33: error: expected primary-expression before ')' token
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected primary-expression before 'const'
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected ')' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39:28: error: 'byte' was not declared in this scope
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:28: note: suggested alternative:
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from char_skill.cpp:10:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from char_skill.cpp:10:
cipher.h:39:33: error: expected primary-expression before ')' token
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected primary-expression before 'const'
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected ')' before 'const'
In file included from desc.h:7:0,
from cmd.cpp:7:
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31:28: error: 'byte' was not declared in this scope
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:28: note: suggested alternative:
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from cmd.cpp:7:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from cmd.cpp:7:
cipher.h:31:33: error: expected primary-expression before ')' token
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected primary-expression before 'const'
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected ')' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39:28: error: 'byte' was not declared in this scope
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:28: note: suggested alternative:
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from cmd.cpp:7:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from cmd.cpp:7:
cipher.h:39:33: error: expected primary-expression before ')' token
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected primary-expression before 'const'
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected ')' before 'const'
In file included from desc.h:7:0,
from char_manager.cpp:4:
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31:28: error: 'byte' was not declared in this scope
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from battle.cpp:4:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
gmake: *** [Makefile:73: .obj_game/exchange.o] Error 1
In file included from desc.h:7:0,
from desc_client.h:4,
from guild_manager.cpp:9:
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31:28: error: 'byte' was not declared in this scope
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:28: note: suggested alternative:
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from desc_client.h:4,
from guild_manager.cpp:9:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from desc_client.h:4,
from guild_manager.cpp:9:
cipher.h:31:33: error: expected primary-expression before ')' token
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected primary-expression before 'const'
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected ')' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39:28: error: 'byte' was not declared in this scope
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:28: note: suggested alternative:
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from desc_client.h:4,
from guild_manager.cpp:9:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from desc_client.h:4,
from guild_manager.cpp:9:
cipher.h:39:33: error: expected primary-expression before ')' token
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected primary-expression before 'const'
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected ')' before 'const'
cipher.h:31:28: note: suggested alternative:
In file included from desc.h:7:0,
from desc_client.h:4,
from cmd_general.cpp:10:
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31:28: error: 'byte' was not declared in this scope
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:28: note: suggested alternative:
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from desc_client.h:4,
from cmd_general.cpp:10:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from desc_client.h:4,
from cmd_general.cpp:10:
cipher.h:31:33: error: expected primary-expression before ')' token
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected primary-expression before 'const'
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected ')' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39:28: error: 'byte' was not declared in this scope
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:28: note: suggested alternative:
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from desc_client.h:4,
from cmd_general.cpp:10:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from desc_client.h:4,
from cmd_general.cpp:10:
cipher.h:39:33: error: expected primary-expression before ')' token
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected primary-expression before 'const'
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected ')' before 'const'
In file included from desc.h:7:0,
from battle.cpp:4:
cipher.h:31:33: error: expected primary-expression before ')' token
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
gmake: *** [Makefile:73: .obj_game/guild_manager.o] Error 1
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from char_manager.cpp:4:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from char_manager.cpp:4:
cipher.h:31:33: error: expected primary-expression before ')' token
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected primary-expression before 'const'
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected ')' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39:28: error: 'byte' was not declared in this scope
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:28: note: suggested alternative:
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from char_manager.cpp:4:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from char_manager.cpp:4:
cipher.h:39:33: error: expected primary-expression before ')' token
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected primary-expression before 'const'
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected ')' before 'const'
gmake: *** [Makefile:73: .obj_game/entity.o] Error 1
cipher.h:31:43: error: expected primary-expression before 'const'
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
gmake: *** [Makefile:73: .obj_game/desc.o] Error 1
cipher.h:31:43: error: expected ')' before 'const'
gmake: *** [Makefile:73: .obj_game/cmd.o] Error 1
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39:28: error: 'byte' was not declared in this scope
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
gmake: *** [Makefile:73: .obj_game/char_skill.o] Error 1
cipher.h:39:28: note: suggested alternative:
In file included from desc.h:7:0,
from desc_client.h:4,
from guild.cpp:6:
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31:28: error: 'byte' was not declared in this scope
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:28: note: suggested alternative:
In file included from desc.h:7:0,
from desc_client.h:4,
from guild_war.cpp:8:
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31:28: error: 'byte' was not declared in this scope
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:28: note: suggested alternative:
In file included from desc.h:7:0,
from desc_client.h:4,
from char_affect.cpp:10:
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31:28: error: 'byte' was not declared in this scope
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
gmake: *** [Makefile:73: .obj_game/arena.o] Error 1
In file included from desc.h:7:0,
from OXEvent.cpp:12:
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31:28: error: 'byte' was not declared in this scope
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from battle.cpp:4:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
cipher.h:31:28: note: suggested alternative:
In file included from desc.h:7:0,
from config.cpp:10:
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31:28: error: 'byte' was not declared in this scope
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:28: note: suggested alternative:
In file included from desc.h:7:0,
from battle.cpp:4:
cipher.h:39:33: error: expected primary-expression before ')' token
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected primary-expression before 'const'
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected ')' before 'const'
cipher.h:31:28: note: suggested alternative:
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from desc_client.h:4,
from guild.cpp:6:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from desc_client.h:4,
from guild.cpp:6:
cipher.h:31:33: error: expected primary-expression before ')' token
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected primary-expression before 'const'
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected ')' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39:28: error: 'byte' was not declared in this scope
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:28: note: suggested alternative:
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from desc_client.h:4,
from guild.cpp:6:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from desc_client.h:4,
from guild.cpp:6:
cipher.h:39:33: error: expected primary-expression before ')' token
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected primary-expression before 'const'
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected ')' before 'const'
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from desc_client.h:4,
from guild_war.cpp:8:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from desc_client.h:4,
from guild_war.cpp:8:
cipher.h:31:33: error: expected primary-expression before ')' token
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected primary-expression before 'const'
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected ')' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39:28: error: 'byte' was not declared in this scope
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:28: note: suggested alternative:
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from desc_client.h:4,
from guild_war.cpp:8:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from desc_client.h:4,
from guild_war.cpp:8:
cipher.h:39:33: error: expected primary-expression before ')' token
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected primary-expression before 'const'
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected ')' before 'const'
In file included from desc.h:7:0,
from desc_client.h:4,
from fishing.cpp:21:
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31:28: error: 'byte' was not declared in this scope
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:28: note: suggested alternative:
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from desc_client.h:4,
from fishing.cpp:21:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from desc_client.h:4,
from fishing.cpp:21:
cipher.h:31:33: error: expected primary-expression before ')' token
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected primary-expression before 'const'
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected ')' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39:28: error: 'byte' was not declared in this scope
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:28: note: suggested alternative:
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from desc_client.h:4,
from fishing.cpp:21:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from desc_client.h:4,
from fishing.cpp:21:
cipher.h:39:33: error: expected primary-expression before ')' token
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected primary-expression before 'const'
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected ')' before 'const'
gmake: *** [Makefile:73: .obj_game/fishing.o] Error 1
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from config.cpp:10:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from config.cpp:10:
cipher.h:31:33: error: expected primary-expression before ')' token
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected primary-expression before 'const'
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected ')' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39:28: error: 'byte' was not declared in this scope
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:28: note: suggested alternative:
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from config.cpp:10:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from config.cpp:10:
cipher.h:39:33: error: expected primary-expression before ')' token
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected primary-expression before 'const'
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected ')' before 'const'
gmake: *** [Makefile:73: .obj_game/guild.o] Error 1
In file included from desc.h:7:0,
from desc_client.h:4,
from desc_client.cpp:4:
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31:28: error: 'byte' was not declared in this scope
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:28: note: suggested alternative:
gmake: *** [Makefile:73: .obj_game/guild_war.o] Error 1
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from desc_client.h:4,
from desc_client.cpp:4:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from desc_client.h:4,
from desc_client.cpp:4:
cipher.h:31:33: error: expected primary-expression before ')' token
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected primary-expression before 'const'
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected ')' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39:28: error: 'byte' was not declared in this scope
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:28: note: suggested alternative:
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from desc_client.h:4,
from desc_client.cpp:4:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from desc_client.h:4,
from desc_client.cpp:4:
cipher.h:39:33: error: expected primary-expression before ')' token
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected primary-expression before 'const'
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected ')' before 'const'
In file included from desc.h:7:0,
from desc_client.h:4,
from char.cpp:14:
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31:28: error: 'byte' was not declared in this scope
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:28: note: suggested alternative:
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from desc_client.h:4,
from char.cpp:14:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from desc_client.h:4,
from char.cpp:14:
cipher.h:31:33: error: expected primary-expression before ')' token
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected primary-expression before 'const'
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected ')' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39:28: error: 'byte' was not declared in this scope
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:28: note: suggested alternative:
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from desc_client.h:4,
from char.cpp:14:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from desc_client.h:4,
from char.cpp:14:
cipher.h:39:33: error: expected primary-expression before ')' token
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected primary-expression before 'const'
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected ')' before 'const'
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from desc_client.h:4,
from char_affect.cpp:10:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
gmake: *** [Makefile:73: .obj_game/desc_client.o] Error 1
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from OXEvent.cpp:12:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from char_quickslot.cpp:4:
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31:28: error: 'byte' was not declared in this scope
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:28: note: suggested alternative:
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from char_quickslot.cpp:4:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from char_quickslot.cpp:4:
cipher.h:31:33: error: expected primary-expression before ')' token
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected primary-expression before 'const'
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected ')' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39:28: error: 'byte' was not declared in this scope
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:28: note: suggested alternative:
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from char_quickslot.cpp:4:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from char_quickslot.cpp:4:
cipher.h:39:33: error: expected primary-expression before ')' token
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected primary-expression before 'const'
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected ')' before 'const'
In file included from desc.h:7:0,
from dungeon.cpp:8:
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31:28: error: 'byte' was not declared in this scope
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:28: note: suggested alternative:
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from dungeon.cpp:8:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from dungeon.cpp:8:
cipher.h:31:33: error: expected primary-expression before ')' token
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected primary-expression before 'const'
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected ')' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39:28: error: 'byte' was not declared in this scope
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:28: note: suggested alternative:
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from dungeon.cpp:8:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from dungeon.cpp:8:
cipher.h:39:33: error: expected primary-expression before ')' token
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected primary-expression before 'const'
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected ')' before 'const'
In file included from desc.h:7:0,
from desc_client.h:4,
from horsename_manager.cpp:4:
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31:28: error: 'byte' was not declared in this scope
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:28: note: suggested alternative:
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from desc_client.h:4,
from horsename_manager.cpp:4:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from desc_client.h:4,
from horsename_manager.cpp:4:
cipher.h:31:33: error: expected primary-expression before ')' token
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected primary-expression before 'const'
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected ')' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39:28: error: 'byte' was not declared in this scope
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:28: note: suggested alternative:
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from desc_client.h:4,
from horsename_manager.cpp:4:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from desc_client.h:4,
from horsename_manager.cpp:4:
cipher.h:39:33: error: expected primary-expression before ')' token
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected primary-expression before 'const'
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected ')' before 'const'
gmake: *** [Makefile:73: .obj_game/horsename_manager.o] Error 1
In file included from desc.h:7:0,
from OXEvent.cpp:12:
cipher.h:31:33: error: expected primary-expression before ')' token
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
In file included from desc.h:7:0,
from desc_client.h:4,
from char_affect.cpp:10:
cipher.h:31:33: error: expected primary-expression before ')' token
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
gmake: *** [Makefile:73: .obj_game/dungeon.o] Error 1
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
gmake: *** [Makefile:73: .obj_game/char_quickslot.o] Error 1
cipher.h:31:43: error: expected primary-expression before 'const'
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected primary-expression before 'const'
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:31:43: error: expected ')' before 'const'
cipher.h:31:43: error: expected ')' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39:28: error: 'byte' was not declared in this scope

gmake: *** [Makefile:73: .obj_game/cmd_gm.o] Error 1
2
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39:28: error: 'byte' was not declared in this scope
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
In file included from desc.h:7:0,
from char_battle.cpp:4:
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31:28: error: 'byte' was not declared in this scope
encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:28: note: suggested alternative:
cipher.h:31:28: note: suggested alternative:
cipher.h:39:28: note: suggested alternative:
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from desc_client.h:4,
from char_affect.cpp:10:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from desc.h:7:0,
from desc_client.h:4,
from char_affect.cpp:10:
cipher.h:39:33: error: expected primary-expression before ')' token
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected primary-expression before 'const'
decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
^
cipher.h:39:43: error: expected ')' before 'const'
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from OXEvent.cpp:12:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
In file included from ../../../Extern/include/cryptopp/cryptlib.h:102:0,
from cipher.h:6,
from desc.h:7,
from char_battle.cpp:4:
../../../Extern/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte'
typedef unsigned char byte;
^
I
e foare mare nu a intrat tot
Ultima oară modificat 21 Noi 2018, 15:29 de către Warr007., modificat 1 dată în total.
Motiv: mesaje unite
Avatar utilizator
Moț
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 2825
Membru din: 03 Apr 2017, 15:00
Aprecieri: 216  
Mulţumiri: 3040  
Discord: Copiază ID
Medalii

Chiper.h din sursa game adauga "using CryptoPP::byte;"

[ Postat de pe Android ] Imagine
Pentru acest mesaj, Moț for the post:
K3nnTHD
Imagine
Afișează semnătura
Avatar utilizator
K3nnTHD
Nivel 2

Nivel 2
Mesaje: 192
Membru din: 29 Noi 2013, 20:29
Aprecieri: 66  
Mulţumiri: 3  
 Contact:
Medalii

Meeting scrie:Chiper.h din sursa game adauga "using CryptoPP::byte;"

[ Postat de pe Android ] Imagine

am adaugat si acuma imi zice : In file included from desc.h:7:0,
from OXEvent.cpp:12:
cipher.h:7:7: error: expected nested-name-specifier before 'CryptoPP'
using CryptoPP:byte;


re: mersi am editat gresit :*! pentru cei care intampina problema si nu reusiti sa o rezolvati:

edit>Chiper.h si unde e "byte*" adaugati "CryptoPP::byte*" fara ghilimele ""


T/C rezolvat :D
Avatar utilizator
Moț
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 2825
Membru din: 03 Apr 2017, 15:00
Aprecieri: 216  
Mulţumiri: 3040  
Discord: Copiază ID
Medalii

K3nnTHD scrie:
Meeting scrie:Chiper.h din sursa game adauga "using CryptoPP::byte;"

[ Postat de pe Android ] Imagine

am adaugat si acuma imi zice : In file included from desc.h:7:0,
from OXEvent.cpp:12:
cipher.h:7:7: error: expected nested-name-specifier before 'CryptoPP'
using CryptoPP:byte;


re: mersi am editat gresit :*! pentru cei care intampina problema si nu reusiti sa o rezolvati:

edit>Chiper.h si unde e "byte*" adaugati "CryptoPP::byte*" fara ghilimele ""


T/C rezolvat :D
da ii ok si asa :)
Pentru acest mesaj, Moț for the post:
K3nnTHD
Imagine
Afișează semnătura
Închis

Înapoi la “Probleme rezolvate”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 9 vizitatori