Open GoogleCodeExporter opened 9 years ago
I tested older versions of gnuboy (v1.0.3 and hacked v1.0.2). Problem still
present (i.e. different to GBC issue
http://code.google.com/p/gnuboy/issues/detail?id=6 ).
NOTE oolder versions of gnuboy don't build easily. Here is a patch to allow
building of r20 on current compilers.
Index: loader.c
===================================================================
--- loader.c (revision 20)
+++ loader.c (working copy)
@@ -11,7 +11,6 @@
#include <stdlib.h>
#include <string.h>
-char *strdup();
static int mbc_table[256] =
{
Index: rcvars.c
===================================================================
--- rcvars.c (revision 20)
+++ rcvars.c (working copy)
@@ -5,7 +5,6 @@
#include <stdlib.h>
#include <string.h>
-char *strdup();
#include "defs.h"
#include "rc.h"
Index: rckeys.c
===================================================================
--- rckeys.c (revision 20)
+++ rckeys.c (working copy)
@@ -4,7 +4,6 @@
#include <stdlib.h>
#include <string.h>
-char *strdup();
#include "defs.h"
#include "rc.h"
Index: main.c
===================================================================
--- main.c (revision 20)
+++ main.c (working copy)
@@ -8,7 +8,6 @@
#include <stdlib.h>
#include <string.h>
-char *strdup();
#include <stdarg.h>
#include <signal.h>
Index: path.c
===================================================================
--- path.c (revision 20)
+++ path.c (working copy)
@@ -5,7 +5,6 @@
#include <stdlib.h>
#include <string.h>
-char *strdup();
#ifdef ALT_PATH_SEP
#define SEP ';'
Original comment by clac...@gmail.com
on 11 Apr 2012 at 4:27
Original issue reported on code.google.com by
clac...@gmail.com
on 11 Apr 2012 at 4:24