Applied patch by Fredrik Ekdahl to fix the compilation with GCC 4 - thanks!

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22062 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2007-08-26 15:31:52 +00:00
parent 1f9b6e48c3
commit 7bd1d755c4
5 changed files with 5 additions and 4 deletions

View File

@ -11,6 +11,6 @@ Application Sudoku :
SudokuView.cpp SudokuView.cpp
SudokuWindow.cpp SudokuWindow.cpp
: be tracker : be tracker $(TARGET_LIBSTDC++)
: Sudoku.rdef : Sudoku.rdef
; ;

View File

@ -71,7 +71,7 @@ Sudoku::AboutRequested()
{ {
BAlert *alert = new BAlert("about", "Sudoku\n" BAlert *alert = new BAlert("about", "Sudoku\n"
"\twritten by Axel Dörfler\n" "\twritten by Axel Dörfler\n"
"\tCopyright 2007, pinc Software.\n", "Ok"); "\tCopyright 2007, Haiku Inc.\n", "Ok");
BTextView *view = alert->TextView(); BTextView *view = alert->TextView();
BFont font; BFont font;

View File

@ -8,6 +8,7 @@
#include <new> #include <new>
#include <stdio.h> #include <stdio.h>
#include <string.h>
#include <Message.h> #include <Message.h>
#include <OS.h> #include <OS.h>

View File

@ -31,7 +31,7 @@ private:
uint32 fY; uint32 fY;
}; };
typedef vector<SolutionStep*> StepList; typedef std::vector<SolutionStep*> StepList;
uint32 uint32

View File

@ -26,7 +26,7 @@ public:
SudokuField* SolutionAt(uint32 index); SudokuField* SolutionAt(uint32 index);
private: private:
typedef vector<SudokuField*> SudokuList; typedef std::vector<SudokuField*> SudokuList;
SudokuField* fField; SudokuField* fField;
SudokuList fSolutions; SudokuList fSolutions;