Public feed #723252

Anonymous

public text v1 · immutable
Raw Edit
·published 2007-10-02 17:25 UTC
rendered paste body
Compiler: Default compiler
Building Makefile: "C:\Users\Pesu\Desktop\VampTown\Makefile.win"
Executing  make...
make.exe -f "C:\Users\Pesu\Desktop\VampTown\Makefile.win" all
g++.exe -D__DEBUG__ -c main.cpp -o main.o -I"include"    -w -g3

In file included from main.cpp:6:
Player Class.h:42: error: `int Creature::SetLoc' is not a static member of `class Creature'

Player Class.h:42: error: expected primary-expression before "return"
Player Class.h:42: error: expected unqualified-id before ')' token
Player Class.h:42: error: expected `,' or `;' before ')' token
Player Class.h: In member function `void Creature::SetRace()':
Player Class.h:53: error: return-statement with a value, in function returning 'void'

In file included from main.cpp:7:
Map Class.h: In member function `void Map::LoadTiles()':
Map Class.h:31: error: no match for 'operator=' in '((Map*)this)->Map::Tiles[0] = SDL_LoadImage(string(((const char*)"Slayer.bmp"), ((const std::allocator<char>&)((const std::allocator<char>*)(&allocator<char>())))))'
C:/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.2/../../../../include/SDL/SDL_video.h:88: note: candidates are: SDL_Surface& SDL_Surface::operator=(const SDL_Surface&)

Map Class.h: In member function `int Map::DrawOnScreen(Coordinates, Coordinates)':
Map Class.h:53: error: cannot convert `SDL_Surface' to `SDL_Surface*' for argument `3' to `void ApplyImage(int, int, SDL_Surface*, SDL_Surface*)'
Map Class.h: At global scope:
Map Class.h:62: error: prototype for `int Map::LoadMap(char*)' does not match any in class `Map'
Map Class.h:25: error: candidate is: int Map::LoadMap()

main.cpp: In function `int SDL_main(int, char**)':
main.cpp:24: error: 'class Player' has no member named 'SetLoc'
main.cpp:30: error: 'class Player' has no member named 'ReturnLocation'
main.cpp:30: error: 'class Player' has no member named 'ReturnLocation'

make.exe: *** [main.o] Error 1

Execution terminated