- {l Code}: {l Select All Code}
/home/ctdabomb/meandmyshadow/src/Levels.cpp: In member function ‘void Levels::addLevel(const std::string&, int)’:
/home/ctdabomb/meandmyshadow/src/Levels.cpp:292: warning: comparison between signed and unsigned integer expressions
/home/ctdabomb/meandmyshadow/src/Levels.cpp: In member function ‘void Levels::setLevelName(int, const std::string&)’:
/home/ctdabomb/meandmyshadow/src/Levels.cpp:405: warning: comparison between signed and unsigned integer expressions
/home/ctdabomb/meandmyshadow/src/Levels.cpp: In member function ‘void Levels::swapLevel(int, int)’:
/home/ctdabomb/meandmyshadow/src/Levels.cpp:453: warning: comparison between signed and unsigned integer expressions
/home/ctdabomb/meandmyshadow/src/Levels.cpp:453: warning: comparison between signed and unsigned integer expressions
/home/ctdabomb/meandmyshadow/src/Levels.cpp: In member function ‘void Levels::removeLevel(int)’:
/home/ctdabomb/meandmyshadow/src/Levels.cpp:459: warning: comparison between signed and unsigned integer expressions
later while compiling I got this error
- {l Code}: {l Select All Code}
/home/ctdabomb/meandmyshadow/src/Functions.cpp: In function ‘bool loadFiles()’:
/home/ctdabomb/meandmyshadow/src/Functions.cpp:158: error: ‘music’ was not declared in this scope
/home/ctdabomb/meandmyshadow/src/Functions.cpp: At global scope:
/home/ctdabomb/meandmyshadow/src/Functions.cpp:912: error: expected unqualified-id before ‘<<’ token
/home/ctdabomb/meandmyshadow/src/Functions.cpp:950: error: redefinition of ‘ImageManager imageManager’
/home/ctdabomb/meandmyshadow/src/Functions.cpp:55: error: ‘ImageManager imageManager’ previously declared here
/home/ctdabomb/meandmyshadow/src/Functions.cpp:958: error: redefinition of ‘Settings* settings’
/home/ctdabomb/meandmyshadow/src/Functions.cpp:59: error: ‘Settings* settings’ previously defined here
/home/ctdabomb/meandmyshadow/src/Functions.cpp: In function ‘SDL_Surface* loadImage(std::string)’:
/home/ctdabomb/meandmyshadow/src/Functions.cpp:961: error: redefinition of ‘SDL_Surface* loadImage(std::string)’
/home/ctdabomb/meandmyshadow/src/Functions.cpp:62: error: ‘SDL_Surface* loadImage(std::string)’ previously defined here
/home/ctdabomb/meandmyshadow/src/Functions.cpp: In function ‘void applySurface(int, int, SDL_Surface*, SDL_Surface*, SDL_Rect*)’:
/home/ctdabomb/meandmyshadow/src/Functions.cpp:966: error: redefinition of ‘void applySurface(int, int, SDL_Surface*, SDL_Surface*, SDL_Rect*)’
/home/ctdabomb/meandmyshadow/src/Functions.cpp:67: error: ‘void applySurface(int, int, SDL_Surface*, SDL_Surface*, SDL_Rect*)’ previously defined here
/home/ctdabomb/meandmyshadow/src/Functions.cpp: In function ‘void drawRect(int, int, int, int, SDL_Surface*, Uint32)’:
/home/ctdabomb/meandmyshadow/src/Functions.cpp:976: error: redefinition of ‘void drawRect(int, int, int, int, SDL_Surface*, Uint32)’
/home/ctdabomb/meandmyshadow/src/Functions.cpp:77: error: ‘void drawRect(int, int, int, int, SDL_Surface*, Uint32)’ previously defined here
/home/ctdabomb/meandmyshadow/src/Functions.cpp: In function ‘void drawGUIBox(int, int, int, int, SDL_Surface*, Uint32)’:
/home/ctdabomb/meandmyshadow/src/Functions.cpp:981: error: redefinition of ‘void drawGUIBox(int, int, int, int, SDL_Surface*, Uint32)’
/home/ctdabomb/meandmyshadow/src/Functions.cpp:82: error: ‘void drawGUIBox(int, int, int, int, SDL_Surface*, Uint32)’ previously defined here
/home/ctdabomb/meandmyshadow/src/Functions.cpp:983: error: ‘roundedBoxRGBA’ was not declared in this scope
/home/ctdabomb/meandmyshadow/src/Functions.cpp:986: error: ‘roundedRectangleRGBA’ was not declared in this scope
/home/ctdabomb/meandmyshadow/src/Functions.cpp: In function ‘void drawLine(int, int, int, int, SDL_Surface*, Uint32)’:
/home/ctdabomb/meandmyshadow/src/Functions.cpp:989: error: redefinition of ‘void drawLine(int, int, int, int, SDL_Surface*, Uint32)’
/home/ctdabomb/meandmyshadow/src/Functions.cpp:90: error: ‘void drawLine(int, int, int, int, SDL_Surface*, Uint32)’ previously defined here
/home/ctdabomb/meandmyshadow/src/Functions.cpp: In function ‘void drawLineWithArrow(int, int, int, int, SDL_Surface*, Uint32, int, int, int, int)’:
/home/ctdabomb/meandmyshadow/src/Functions.cpp:994: error: redefinition of ‘void drawLineWithArrow(int, int, int, int, SDL_Surface*, Uint32, int, int, int, int)’
/home/ctdabomb/meandmyshadow/src/Functions.cpp:95: error: ‘void drawLineWithArrow(int, int, int, int, SDL_Surface*, Uint32, int, int, int, int)’ previously defined here
/home/ctdabomb/meandmyshadow/src/Functions.cpp: In function ‘bool init()’:
/home/ctdabomb/meandmyshadow/src/Functions.cpp:1016: error: redefinition of ‘bool init()’
/home/ctdabomb/meandmyshadow/src/Functions.cpp:117: error: ‘bool init()’ previously defined here
/home/ctdabomb/meandmyshadow/src/Functions.cpp: In function ‘bool loadFiles()’:
/home/ctdabomb/meandmyshadow/src/Functions.cpp:1055: error: redefinition of ‘bool loadFiles()’
/home/ctdabomb/meandmyshadow/src/Functions.cpp:156: error: ‘bool loadFiles()’ previously defined here
/home/ctdabomb/meandmyshadow/src/Functions.cpp: In function ‘bool loadSettings()’:
/home/ctdabomb/meandmyshadow/src/Functions.cpp:1083: error: redefinition of ‘bool loadSettings()’
/home/ctdabomb/meandmyshadow/src/Functions.cpp:182: error: ‘bool loadSettings()’ previously defined here
/home/ctdabomb/meandmyshadow/src/Functions.cpp: In function ‘bool saveSettings()’:
/home/ctdabomb/meandmyshadow/src/Functions.cpp:1091: error: redefinition of ‘bool saveSettings()’
/home/ctdabomb/meandmyshadow/src/Functions.cpp:190: error: ‘bool saveSettings()’ previously defined here
/home/ctdabomb/meandmyshadow/src/Functions.cpp: In function ‘Settings* getSettings()’:
/home/ctdabomb/meandmyshadow/src/Functions.cpp:1098: error: redefinition of ‘Settings* getSettings()’
/home/ctdabomb/meandmyshadow/src/Functions.cpp:197: error: ‘Settings* getSettings()’ previously defined here
/home/ctdabomb/meandmyshadow/src/Functions.cpp: In function ‘void clean()’:
/home/ctdabomb/meandmyshadow/src/Functions.cpp:1106: error: redefinition of ‘void clean()’
/home/ctdabomb/meandmyshadow/src/Functions.cpp:201: error: ‘void clean()’ previously defined here
/home/ctdabomb/meandmyshadow/src/Functions.cpp: In function ‘void setNextState(int)’:
/home/ctdabomb/meandmyshadow/src/Functions.cpp:1143: error: redefinition of ‘void setNextState(int)’
/home/ctdabomb/meandmyshadow/src/Functions.cpp:235: error: ‘void setNextState(int)’ previously defined here
/home/ctdabomb/meandmyshadow/src/Functions.cpp: In function ‘void changeState()’:
/home/ctdabomb/meandmyshadow/src/Functions.cpp:1150: error: redefinition of ‘void changeState()’
/home/ctdabomb/meandmyshadow/src/Functions.cpp:242: error: ‘void changeState()’ previously defined here
/home/ctdabomb/meandmyshadow/src/Functions.cpp: In function ‘bool checkCollision(const SDL_Rect&, const SDL_Rect&)’:
/home/ctdabomb/meandmyshadow/src/Functions.cpp:1210: error: redefinition of ‘bool checkCollision(const SDL_Rect&, const SDL_Rect&)’
/home/ctdabomb/meandmyshadow/src/Functions.cpp:297: error: ‘bool checkCollision(const SDL_Rect&, const SDL_Rect&)’ previously defined here
/home/ctdabomb/meandmyshadow/src/Functions.cpp: In function ‘void setCamera()’:
/home/ctdabomb/meandmyshadow/src/Functions.cpp:1232: error: redefinition of ‘void setCamera()’
/home/ctdabomb/meandmyshadow/src/Functions.cpp:319: error: ‘void setCamera()’ previously defined here
/home/ctdabomb/meandmyshadow/src/Functions.cpp: In function ‘bool parseArguments(int, char**)’:
/home/ctdabomb/meandmyshadow/src/Functions.cpp:1267: error: redefinition of ‘bool parseArguments(int, char**)’
/home/ctdabomb/meandmyshadow/src/Functions.cpp:354: error: ‘bool parseArguments(int, char**)’ previously defined here
/home/ctdabomb/meandmyshadow/src/Functions.cpp: At global scope:
/home/ctdabomb/meandmyshadow/src/Functions.cpp:1321: error: redefinition of ‘struct msgBoxHandler’
/home/ctdabomb/meandmyshadow/src/Functions.cpp:408: error: previous definition of ‘struct msgBoxHandler’
/home/ctdabomb/meandmyshadow/src/Functions.cpp: In function ‘msgBoxResult msgBox(std::string, msgBoxButtons, const std::string&)’:
/home/ctdabomb/meandmyshadow/src/Functions.cpp:1344: error: redefinition of ‘msgBoxResult msgBox(std::string, msgBoxButtons, const std::string&)’
/home/ctdabomb/meandmyshadow/src/Functions.cpp:431: error: ‘msgBoxResult msgBox(std::string, msgBoxButtons, const std::string&)’ previously defined here
/home/ctdabomb/meandmyshadow/src/Functions.cpp: At global scope:
/home/ctdabomb/meandmyshadow/src/Functions.cpp:1492: error: redefinition of ‘struct fileDialogHandler’
/home/ctdabomb/meandmyshadow/src/Functions.cpp:579: error: previous definition of ‘struct fileDialogHandler’
/home/ctdabomb/meandmyshadow/src/Functions.cpp: In function ‘bool fileDialog(std::string&, const char*, const char*, const char*, bool, bool, bool)’:
/home/ctdabomb/meandmyshadow/src/Functions.cpp:1664: error: redefinition of ‘bool fileDialog(std::string&, const char*, const char*, const char*, bool, bool, bool)’
/home/ctdabomb/meandmyshadow/src/Functions.cpp:753: error: ‘bool fileDialog(std::string&, const char*, const char*, const char*, bool, bool, bool)’ previously defined here
/home/ctdabomb/meandmyshadow/src/Functions.cpp: At global scope:
/home/ctdabomb/meandmyshadow/src/Functions.cpp:1822: error: expected unqualified-id before ‘>>’ token
make[2]: *** [CMakeFiles/meandmyshadow.dir/src/Functions.cpp.o] Error 1
make[1]: *** [CMakeFiles/meandmyshadow.dir/all] Error 2
make: *** [all] Error 2