Kod:
Kompilator: Default compiler
Building Makefile: "D:\OTS\TFS\0.3.6pl1.r83\dev-cpp\Makefile.win"
Wykonywanie make clean
rm -f obj//actions.o obj//allocator.o obj//baseevents.o obj//beds.o obj//chat.o obj//combat.o obj//protocolold.o obj//condition.o obj//configmanager.o obj//connection.o obj//container.o obj//creature.o obj//creatureevent.o obj//cylinder.o obj//database.o obj//databasemysql.o obj//databasesqlite.o obj//depot.o obj//exception.o obj//fileloader.o obj//game.o obj//gui.o obj//house.o obj//housetile.o obj//inputbox.o obj//ioguild.o obj//iologindata.o obj//iomap.o obj//iomapserialize.o obj//item.o obj//items.o obj//luascript.o obj//mailbox.o obj//map.o obj//md5.o obj//monster.o obj//monsters.o obj//movement.o obj//networkmessage.o obj//npc.o obj//otserv.o obj//outfit.o obj//outputmessage.o obj//party.o obj//player.o obj//playerbox.o obj//position.o obj//protocol.o obj//protocolgame.o obj//protocollogin.o obj//quests.o obj//raids.o obj//rsa.o obj//scheduler.o obj//scriptmanager.o obj//server.o obj//sha1.o obj//spawn.o obj//spells.o obj//status.o obj//talkaction.o obj//tasks.o obj//teleport.o obj//textlogger.o obj//thing.o obj//tile.o obj//tools.o obj//trashholder.o obj//vocation.o obj//waitlist.o obj//weapons.o obj//ioban.o obj//globalevent.o obj//gameservers.o obj//databasemanager.o obj//admin.o obj//itemattributes.o obj//group.o obj//TheForgottenServer_private.res TheForgottenServer.exe
g++.exe -c ../actions.cpp -o obj//actions.o -I"D:/OTS/TFS/The Forgotten Dev-Cpp/include" -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D__CONSOLE__ -fexpensive-optimizations -O1
In file included from ../baseevents.h:22,
from ../actions.h:20,
from ../actions.cpp:20:
../luascript.h:641: error: `luaL_Reg' does not name a type
../luascript.h:650: error: `luaL_Reg' does not name a type
../luascript.h:658: error: `luaL_Reg' does not name a type
../luascript.h:672: error: `luaL_Reg' does not name a type
make.exe: *** [obj//actions.o] Error 1
Wykonanie zakończone
Kod:
static const luaL_Reg luaDatabaseTable[8];
static int32_t luaDatabaseExecute(lua_State* L);
static int32_t luaDatabaseStoreQuery(lua_State* L);
static int32_t luaDatabaseEscapeString(lua_State* L);
static int32_t luaDatabaseEscapeBlob(lua_State* L);
static int32_t luaDatabaseLastInsertId(lua_State* L);
static int32_t luaDatabaseStringComparison(lua_State* L);
static int32_t luaDatabaseUpdateLimiter(lua_State* L);
static const luaL_Reg luaResultTable[7];
static int32_t luaResultGetDataInt(lua_State* L);
static int32_t luaResultGetDataLong(lua_State* L);
static int32_t luaResultGetDataString(lua_State* L);
static int32_t luaResultGetDataStream(lua_State* L);
static int32_t luaResultNext(lua_State* L);
static int32_t luaResultFree(lua_State* L);
static const luaL_Reg luaBitTable[13];
Proszę o pilną odpowiedź.
Zakładki