Index: client/Client/GameRender.cpp
===================================================================
--- client/Client/GameRender.cpp	(revision 5c7f28d940139b4cc01da65a2b0faa7edb455dba)
+++ client/Client/GameRender.cpp	(revision c51da03262d3188dc52078a1c789b71cab7da171)
@@ -1,3 +1,5 @@
 #include "GameRender.h"
+
+#include <cmath>
 
 #include <allegro5/allegro_primitives.h>
@@ -62,4 +64,6 @@
                case OBJECT_RED_FLAG:
                   al_draw_filled_rectangle(it->pos.x-8+mapPos.x, it->pos.y-8+mapPos.y, it->pos.x+8+mapPos.x, it->pos.y+8+mapPos.y, al_map_rgb(255, 0, 0));
+                  break;
+               case OBJECT_NONE:
                   break;
             }
Index: client/Client/RadioButtonList.cpp
===================================================================
--- client/Client/RadioButtonList.cpp	(revision 5c7f28d940139b4cc01da65a2b0faa7edb455dba)
+++ client/Client/RadioButtonList.cpp	(revision c51da03262d3188dc52078a1c789b71cab7da171)
@@ -23,5 +23,5 @@
    al_clear_to_color(al_map_rgb(0, 0, 0));
 
-   int fontHeight = al_get_font_line_height(font);
+   //int fontHeight = al_get_font_line_height(font);
 
    al_draw_text(font, al_map_rgb(0, 255, 0), 0, 0, ALLEGRO_ALIGN_LEFT, this->strLabel.c_str());
@@ -44,5 +44,5 @@
    if (e.type == ALLEGRO_EVENT_MOUSE_BUTTON_UP) {
       if (e.mouse.button == 1) {
-         for (int i=0; i<this->vctRadioButtons.size(); i++) {
+         for (unsigned int i=0; i<this->vctRadioButtons.size(); i++) {
             centerY = y+26+i*20;
 
Index: client/Client/RadioButtonList.h
===================================================================
--- client/Client/RadioButtonList.h	(revision 5c7f28d940139b4cc01da65a2b0faa7edb455dba)
+++ client/Client/RadioButtonList.h	(revision c51da03262d3188dc52078a1c789b71cab7da171)
@@ -15,5 +15,5 @@
    string strLabel;
    vector<string> vctRadioButtons;
-   int selectedButton;
+   unsigned int selectedButton;
 
 public:
Index: client/Client/main.cpp
===================================================================
--- client/Client/main.cpp	(revision 5c7f28d940139b4cc01da65a2b0faa7edb455dba)
+++ client/Client/main.cpp	(revision c51da03262d3188dc52078a1c789b71cab7da171)
@@ -15,5 +15,5 @@
 #include <cstdio>
 #include <cstdlib>
-#include <cmath>
+//#include <cmath>
 #include <sys/types.h>
 #include <string>
@@ -133,5 +133,4 @@
    ALLEGRO_EVENT_QUEUE *event_queue = NULL;
    ALLEGRO_TIMER *timer = NULL;
-   bool key[4] = { false, false, false, false };
    map<unsigned int, Player*> mapPlayers;
    unsigned int curPlayerId = -1;
@@ -697,5 +696,5 @@
                cout << "Got a logout message" << endl;
 
-               int playerId;
+               unsigned int playerId;
 
                // Check if it's about you or another player
Index: client/makefile
===================================================================
--- client/makefile	(revision 5c7f28d940139b4cc01da65a2b0faa7edb455dba)
+++ client/makefile	(revision c51da03262d3188dc52078a1c789b71cab7da171)
@@ -1,10 +1,13 @@
 CC = g++
 LIB_FLAGS = `pkg-config --cflags --libs --static allegro-static-5.0 allegro_ttf-static-5.0 allegro_primitives-static-5.0`
-FLAGS = $(LIB_FLAGS)
+FLAGS = -Wall
 COMMON_PATH = ../common
 DEPENDENCIES = Common.o MessageContainer.o MessageProcessor.o Player.o WorldMap.o Projectile.o Game.o GameRender.o GameSummary.o chat.o GuiComponent.o Window.o Textbox.o Button.o RadioButtonList.o TextLabel.o
 
 gameClient : Client/main.cpp $(DEPENDENCIES)
-	$(CC) -o $@ $+ $(FLAGS)
+	$(CC) -o $@ $+ $(FLAGS) $(LIB_FLAGS)
+
+%.o : Client/%.cpp
+	$(CC) -c -o $@ $? $(FLAGS)
 
 Common.o : $(COMMON_PATH)/Common.cpp
@@ -32,7 +35,4 @@
 	$(CC) -c -o $@ $? $(FLAGS)
 
-%.o : Client/%.cpp
-	$(CC) -c -o $@ $? $(FLAGS)
-
 clean:
 	rm *.o
