- Mesaj
- 72
- Çözümler
- 4
- Beğeni
- 6
- Puan
- 89
- Ticaret Puanı
- 0
Konu başlıklarını tamamen büyük harfle yazmayınız. Aldığınız hataları kod bloğu içine ekleyiniz, konuya doğrudan yapıştırmayın.
GCC49 DAN GCC9A güncellemeye çalışıyorum ancak DB yi derleyemiyorum.
Kod:
In file included from /usr/include/md5.h:46,
from cmd_general.cpp:1:
cmd_general.cpp:2561:2: error: #else without #if
2561 | #else
| ^~~~
cmd_general.cpp:2571:2: error: #endif without #if
2571 | #endif
| ^~~~~
compile cmd_gm.cpp
In file included from ../../../Extern/include/cryptopp/cryptlib.h:82,
from ../../../Extern/include/cryptopp/iterhash.h:4,
from ../../../Extern/include/cryptopp/md5.h:4,
from cmd_general.cpp:4:
../../../Extern/include/cryptopp/queue.h: In function 'void do_in_game_mall(LPCHARACTER, const c har*, int, int)':
../../../Extern/include/cryptopp/config.h:78:29: error: 'namespace' definition is not allowed he re
78 | # define NAMESPACE_BEGIN(x) namespace x {
| ^~~~~~~~~
../../../Extern/include/cryptopp/queue.h:9:1: note: in expansion of macro 'NAMESPACE_BEGIN'
9 | NAMESPACE_BEGIN(CryptoPP)
| ^~~~~~~~~~~~~~~
../../../Extern/include/cryptopp/config.h:78:29: error: 'namespace' definition is not allowed he re
78 | # define NAMESPACE_BEGIN(x) namespace x {
| ^~~~~~~~~
../../../Extern/include/cryptopp/queue.h:135:1: note: in expansion of macro 'NAMESPACE_BEGIN'
135 | NAMESPACE_BEGIN(std)
| ^~~~~~~~~~~~~~~
../../../Extern/include/cryptopp/config.h:78:29: error: 'namespace' definition is not allowed he re
78 | # define NAMESPACE_BEGIN(x) namespace x {
| ^~~~~~~~~
../../../Extern/include/cryptopp/algparam.h:8:1: note: in expansion of macro 'NAMESPACE_BEGIN'
8 | NAMESPACE_BEGIN(CryptoPP)
| ^~~~~~~~~~~~~~~
../../../Extern/include/cryptopp/config.h:78:29: error: 'namespace' definition is not allowed he re
78 | # define NAMESPACE_BEGIN(x) namespace x {
| ^~~~~~~~~
../../../Extern/include/cryptopp/filters.h:14:1: note: in expansion of macro 'NAMESPACE_BEGIN'
14 | NAMESPACE_BEGIN(CryptoPP)
| ^~~~~~~~~~~~~~~
../../../Extern/include/cryptopp/config.h:78:29: error: 'namespace' definition is not allowed he re
78 | # define NAMESPACE_BEGIN(x) namespace x {
| ^~~~~~~~~
../../../Extern/include/cryptopp/argnames.h:6:1: note: in expansion of macro 'NAMESPACE_BEGIN'
6 | NAMESPACE_BEGIN(CryptoPP)
| ^~~~~~~~~~~~~~~
../../../Extern/include/cryptopp/config.h:78:29: error: 'namespace' definition is not allowed he re
78 | # define NAMESPACE_BEGIN(x) namespace x {
| ^~~~~~~~~
../../../Extern/include/cryptopp/basecode.h:8:1: note: in expansion of macro 'NAMESPACE_BEGIN'
8 | NAMESPACE_BEGIN(CryptoPP)
| ^~~~~~~~~~~~~~~
../../../Extern/include/cryptopp/config.h:78:29: error: 'namespace' definition is not allowed he re
78 | # define NAMESPACE_BEGIN(x) namespace x {
| ^~~~~~~~~
../../../Extern/include/cryptopp/hex.h:6:1: note: in expansion of macro 'NAMESPACE_BEGIN'
6 | NAMESPACE_BEGIN(CryptoPP)
| ^~~~~~~~~~~~~~~
cmd_general.cpp:2554:43: error: 'buf' was not declared in this scope
2554 | hash.Update(reinterpret_cast<const byte*>(buf), strlen(buf));
| ^~~
cmd_general.cpp:2557:1: error: 'HexEncoder' was not declared in this scope
2557 | HexEncoder encoder(new StringSink(sas));
| ^~~~~~~~~~
cmd_general.cpp:2558:1: error: 'encoder' was not declared in this scope
2558 | encoder.Put(digest, sizeof(digest));
| ^~~~~~~
cmd_general.cpp:2563:17: error: redeclaration of 'unsigned char digest [16]'
2563 | unsigned char digest[16];
| ^~~~~~
cmd_general.cpp:2552:6: note: 'byte digest [16]' previously declared here
2552 | byte digest[MD5::DIGESTSIZE];
| ^~~~~~
cmd_general.cpp:2564:21: error: 'ctx' was not declared in this scope
2564 | MD5Final(digest, &ctx);
| ^~~
cmd_general.cpp:2564:3: error: 'MD5Final' was not declared in this scope
2564 | MD5Final(digest, &ctx);
| ^~~~~~~~
cmd_general.cpp:2567:4: error: 'sas' was not declared in this scope
2567 | sas[i+i] = hex[digest >> 4];
| ^~~
cmd_general.cpp:2570:3: error: 'sas' was not declared in this scope
2570 | sas[i+i] = '\0';
| ^~~
gmake[1]: *** [Makefile:123: .obj/cmd_general.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
linking ...
En son bir moderatör tarafından düzenlenmiş: