Salut, din cate am vazut systemul este postat asa ca as avea nevoie de ajutor la o chestie, aveti vro idee de la ce poate da aceasta eroare? cam orice as face nu pot scapa de ea.
Compilez : BattleArena.cpp
In file included from constants.h:4,
from BattleArena.cpp:3:
../../common/tables.h: In member function 'bool TSwitchbotAttributeAlternativeTable::IsConfigured() const':
../../common/tables.h:1527: error: a function-definition is not allowed here before ':' token
../../common/tables.h:1536: error: expected primary-expression at end of input
../../common/tables.h:1536: error: expected `;' at end of input
../../common/tables.h:1536: error: expected primary-expression at end of input
../../common/tables.h:1536: error: expected `)' at end of input
../../common/tables.h:1536: error: expected statement at end of input
../../common/tables.h:1536: error: expected `}' at end of input
gmake: *** [.obj/BattleArena.o] Error 1
Mersi
Compilez : BattleArena.cpp
In file included from constants.h:4,
from BattleArena.cpp:3:
../../common/tables.h: In member function 'bool TSwitchbotAttributeAlternativeTable::IsConfigured() const':
../../common/tables.h:1527: error: a function-definition is not allowed here before ':' token
../../common/tables.h:1536: error: expected primary-expression at end of input
../../common/tables.h:1536: error: expected `;' at end of input
../../common/tables.h:1536: error: expected primary-expression at end of input
../../common/tables.h:1536: error: expected `)' at end of input
../../common/tables.h:1536: error: expected statement at end of input
../../common/tables.h:1536: error: expected `}' at end of input
gmake: *** [.obj/BattleArena.o] Error 1
Mersi