*Resursă folosită (sistem/funcție/modificare): martysama
*Syserr: -
*Fișier(e) cu problema (link pastebin / code): https://pastebin.com/cYSZ8wDA
*Poze / Video:

char_affect.cpp:77:2: error: #else without #if
77 | #else
| ^~~~
char_affect.cpp:79:2: error: #endif without #if
79 | #endif
| ^~~~~
[OK] Compilando: char_battle.cpp
char_affect.cpp: In function 'void SendAffectAddPacket(LPDESC, CAffect*)':
char_affect.cpp:75:1: error: 'ifdef' was not declared in this scope
75 | ifdef RENEWAL_PICKUP_AFFECT
| ^~~~~
char_affect.cpp: In member function 'bool CHARACTER::RemoveAffect(CAffect*, bool )':
char_affect.cpp:858:5: error: 'it' was not declared in this scope; did you mean 'int'?
858 | ++it;
| ^~
| int
char_affect.cpp:859:3: error: continue statement not within a loop
859 | continue;
| ^~~~~~~~
At global scope:
cc1plus: note: unrecognized command-line option '-Wno-deprecated-enum-enum-conve rsion' may have been intended to silence earlier diagnostics
gmake: *** [Makefile:164: .obj/char_affect.o] Error 1
gmake: *** Waiting for unfinished jobs....
root@enix:/usr/src/Source/Server/game/src # gmake -j4
[OK] Compilando: char_affect.cpp
[OK] Compilando: char_change_empire.cpp
[OK] Compilando: char_horse.cpp
[OK] Compilando: char_item.cpp
char_affect.cpp: In member function 'bool CHARACTER::RemoveAffect(CAffect*, bool )':
char_affect.cpp:860:5: error: 'it' was not declared in this scope; did you mean 'int'?
860 | ++it;
| ^~
| int
char_affect.cpp:861:3: error: continue statement not within a loop
861 | continue;
| ^~~~~~~~
At global scope:
cc1plus: note: unrecognized command-line option '-Wno-deprecated-enum-enum-conve rsion' may have been intended to silence earlier diagnostics
gmake: *** [Makefile:163: .obj/char_affect.o] Error 1
gmake: *** Waiting for unfinished jobs....
char_item.cpp: In member function 'bool CHARACTER::UseItemEx(LPITEM, TItemPos)':
char_item.cpp
32: error: qualified-id in declaration before '(' token
2670 | void CHARACTER::AutoGiveItemNew(LPITEM item, bool printMsg)
| ^
char_item.cpp
34: error: qualified-id in declaration before '(' token
2749 | bool CHARACTER::CanPickupDirectly()
| ^
At global scope:
cc1plus: note: unrecognized command-line option '-Wno-deprecated-enum-enum-conve rsion' may have been intended to silence earlier diagnostics
gmake: *** [Makefile:162: .obj/char_item.o] Error 1
77 | #else
| ^~~~
char_affect.cpp:79:2: error: #endif without #if
79 | #endif
| ^~~~~
[OK] Compilando: char_battle.cpp
char_affect.cpp: In function 'void SendAffectAddPacket(LPDESC, CAffect*)':
char_affect.cpp:75:1: error: 'ifdef' was not declared in this scope
75 | ifdef RENEWAL_PICKUP_AFFECT
| ^~~~~
char_affect.cpp: In member function 'bool CHARACTER::RemoveAffect(CAffect*, bool )':
char_affect.cpp:858:5: error: 'it' was not declared in this scope; did you mean 'int'?
858 | ++it;
| ^~
| int
char_affect.cpp:859:3: error: continue statement not within a loop
859 | continue;
| ^~~~~~~~
At global scope:
cc1plus: note: unrecognized command-line option '-Wno-deprecated-enum-enum-conve rsion' may have been intended to silence earlier diagnostics
gmake: *** [Makefile:164: .obj/char_affect.o] Error 1
gmake: *** Waiting for unfinished jobs....
root@enix:/usr/src/Source/Server/game/src # gmake -j4
[OK] Compilando: char_affect.cpp
[OK] Compilando: char_change_empire.cpp
[OK] Compilando: char_horse.cpp
[OK] Compilando: char_item.cpp
char_affect.cpp: In member function 'bool CHARACTER::RemoveAffect(CAffect*, bool )':
char_affect.cpp:860:5: error: 'it' was not declared in this scope; did you mean 'int'?
860 | ++it;
| ^~
| int
char_affect.cpp:861:3: error: continue statement not within a loop
861 | continue;
| ^~~~~~~~
At global scope:
cc1plus: note: unrecognized command-line option '-Wno-deprecated-enum-enum-conve rsion' may have been intended to silence earlier diagnostics
gmake: *** [Makefile:163: .obj/char_affect.o] Error 1
gmake: *** Waiting for unfinished jobs....
char_item.cpp: In member function 'bool CHARACTER::UseItemEx(LPITEM, TItemPos)':
char_item.cpp
2670 | void CHARACTER::AutoGiveItemNew(LPITEM item, bool printMsg)
| ^
char_item.cpp
2749 | bool CHARACTER::CanPickupDirectly()
| ^
At global scope:
cc1plus: note: unrecognized command-line option '-Wno-deprecated-enum-enum-conve rsion' may have been intended to silence earlier diagnostics
gmake: *** [Makefile:162: .obj/char_item.o] Error 1