- Fix build with gcc 4.X

PR:		ports/107369
Submitted by:	Jeremy Karlson<karlj000@unbc.ca> (maintainer)
This commit is contained in:
Martin Wilke
2007-01-01 00:00:25 +00:00
parent f0dcb0e336
commit b0e5ee9380
4 changed files with 22 additions and 0 deletions
@@ -0,0 +1,11 @@
--- EventHandler.h.orig Sat Dec 30 23:41:44 2006
+++ EventHandler.h Sat Dec 30 23:42:05 2006
@@ -165,7 +165,7 @@
int number_of_reference_stickers_needed;
int (*reference_stickers_needed)[4];
- void (EventHandler::*what_to_do_after_got_reference_stickers) (void *arg = NULL);
+ void (EventHandler::*what_to_do_after_got_reference_stickers) (void *arg);
void* cur_ui_data;
bool quick_mode;
+11
View File
@@ -0,0 +1,11 @@
--- Machine.h.orig Sat Dec 30 23:43:10 2006
+++ Machine.h Sat Dec 30 23:43:24 2006
@@ -31,7 +31,7 @@
{
public:
typedef void (EventHandler::*event_handler)(EventHandler::Event*,
- void *arg = 0);
+ void *arg);
virtual ~Machine() {};
static Machine* createMachine(EventHandler*, int& argc, char *argv[],