Huhu!
Ich habe keine ahnung was falsch ist. Hier mal mein Error:
root@host:/usr/src/wolfman/game/src # gmake -j4
gmake: Warning: File `Makefile' has modification time 495642 s in the future
compile BattleArena.cpp
compile FSM.cpp
compile MarkConvert.cpp
compile MarkImage.cpp
compile MarkManager.cpp
compile OXEvent.cpp
compile TrafficProfiler.cpp
compile ani.cpp
compile arena.cpp
compile banword.cpp
compile battle.cpp
compile blend_item.cpp
compile block_country.cpp
compile buffer_manager.cpp
compile building.cpp
compile castle.cpp
compile char.cpp
compile char_affect.cpp
In file included from char.cpp:69:
offlineshop_config.h:38:7: warning: no newline at end of file
char.cpp:7713: warning: this decimal constant is unsigned only in ISO C90
char.cpp:7792:2: warning: no newline at end of file
compile char_battle.cpp
compile title.cpp
char.cpp: In member function 'void CHARACTER::Disconnect(const char*)':
char.cpp:1403: error: redeclaration of 'char buf [51]'
char.cpp:1399: error: 'char buf [51]' previously declared here
char.cpp:1405: warning: format '%d' expects type 'int', but argument 5 has type 'long long int'
char.cpp:1405: warning: format '%d' expects type 'int', but argument 5 has type 'long long int'
In file included from title.cpp:14:
title.h:23:7: warning: no newline at end of file
title.cpp:598:2: warning: no newline at end of file
compile char_change_empire.cpp
gmake: *** [OBJDIR/char.o] Error 1
gmake: *** Waiting for unfinished jobs....
title.cpp: In member function 'void TitleManager::BuyPotion(CHARACTER*, const ch ar*)':
title.cpp:216: warning: comparison between signed and unsigned integer expressio ns
title.cpp:247: warning: comparison between signed and unsigned integer expressio ns
title.cpp:278: warning: comparison between signed and unsigned integer expressio ns
title.cpp: In member function 'bool TitleManager::SetTitle(CHARACTER*, const cha r*)':
title.cpp:598: warning: control reaches end of non-void function
title.cpp: In member function 'bool TitleManager::UpdateTitle(CHARACTER*, int, i nt)':
title.cpp:426: warning: control reaches end of non-void function
title.cpp: In member function 'bool TitleManager::TransformTitle(CHARACTER*)':
title.cpp:195: warning: control reaches end of non-void function
char_change_empire.cpp: In member function 'int CHARACTER::ChangeEmpire(BYTE)':
char_change_empire.cpp:29: warning: too few arguments for format
char_change_empire.cpp:29: warning: too few arguments for format
char_change_empire.cpp:89: warning: too few arguments for format
char_change_empire.cpp:89: warning: too few arguments for format
char_change_empire.cpp: In member function 'DWORD CHARACTER::GetAID() const':
char_change_empire.cpp:163: warning: too few arguments for format
char_change_empire.cpp:163: warning: too few arguments for format
Bitte helft mir
Schreibt mir am liebsten direkt auf skype, damit ich euch alles zeigen kann, was ihr sehen müsst.
Vielen Dank im Vorraus!!!!