File Ri-li-gcc43.patch of Package Ri-li
--- src/ecran.cc.orig 2009-01-19 23:32:36.000000000 +0100
+++ src/ecran.cc 2009-01-19 23:32:46.000000000 +0100
@@ -21,10 +21,10 @@
// with this program; if not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#include <iostream.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <math.h>
+#include <iostream>
+#include <cstdio>
+#include <cstdlib>
+#include <cmath>
#include "preference.h"
#include "sprite.h"
#include "ecran.h"
--- src/menu.cc.orig 2009-01-20 00:02:53.000000000 +0100
+++ src/menu.cc 2009-01-20 00:03:09.000000000 +0100
@@ -21,10 +21,12 @@
// with this program; if not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#include <iostream.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
+#include <iostream>
+using std::endl;
+using std::cerr;
+#include <cstdio>
+#include <cstdlib>
+#include <cstring>
#include "preference.h"
#include "menu.h"
#include "sprite.h"
--- src/audio.cc.orig 2009-01-19 23:27:05.000000000 +0100
+++ src/audio.cc 2009-01-19 23:27:41.000000000 +0100
@@ -21,9 +21,11 @@
// with this program; if not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#include <stdlib.h>
-#include <iostream.h>
-#include <string.h>
+#include <cstdlib>
+#include <iostream>
+using std::cerr;
+using std::endl;
+#include <cstring>
#include "audio.h"
#include "utils.h"
--- src/loco.cc.orig 2009-01-20 00:05:32.000000000 +0100
+++ src/loco.cc 2009-01-20 00:05:49.000000000 +0100
@@ -21,11 +21,13 @@
// with this program; if not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#include <iostream.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <math.h>
+#include <iostream>
+using std::endl;
+using std::cerr;
+#include <cstdio>
+#include <cstdlib>
+#include <cstring>
+#include <cmath>
#include "preference.h"
#include "loco.h"
#include "audio.h"
--- src/mouse.cc.orig 2009-01-20 00:03:15.000000000 +0100
+++ src/mouse.cc 2009-01-20 00:03:32.000000000 +0100
@@ -21,8 +21,10 @@
// with this program; if not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#include <iostream.h>
-#include <stdio.h>
+#include <iostream>
+using std::cerr;
+using std::endl;
+#include <cstdio>
#include "mouse.h"
#include "preference.h"
#include "ecran.h"
--- src/utils.cc.orig 2009-01-20 00:04:31.000000000 +0100
+++ src/utils.cc 2009-01-20 00:04:46.000000000 +0100
@@ -21,10 +21,12 @@
// with this program; if not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#include <iostream.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
+#include <iostream>
+using std::endl;
+using std::cerr;
+#include <cstdio>
+#include <cstdlib>
+#include <cstring>
#ifdef WINDOWS
#include <windows.h>
--- src/main.cc.orig 2009-01-19 23:35:13.000000000 +0100
+++ src/main.cc 2009-01-19 23:35:30.000000000 +0100
@@ -21,10 +21,12 @@
// with this program; if not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#include <stdio.h>
-#include <stdlib.h>
-#include <iostream.h>
-#include <string.h>
+#include <cstdio>
+#include <cstdlib>
+#include <iostream>
+using std::cerr;
+using std::endl;
+#include <cstring>
#include <SDL/SDL.h>
#include <SDL/SDL_mixer.h>
--- src/sprite.cc.orig 2009-01-20 00:05:52.000000000 +0100
+++ src/sprite.cc 2009-01-20 00:06:06.000000000 +0100
@@ -21,11 +21,13 @@
// with this program; if not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#include <iostream.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <math.h>
+#include <iostream>
+using std::endl;
+using std::cerr;
+#include <cstdio>
+#include <cstdlib>
+#include <cstring>
+#include <cmath>
#include "sprite.h"
#include "preference.h"
#include "utils.h"
--- src/tableau.cc.orig 2009-01-20 00:05:15.000000000 +0100
+++ src/tableau.cc 2009-01-20 00:05:28.000000000 +0100
@@ -21,9 +21,11 @@
// with this program; if not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#include <iostream.h>
-#include <stdio.h>
-#include <stdlib.h>
+#include <iostream>
+using std::endl;
+using std::cerr;
+#include <cstdio>
+#include <cstdlib>
#include "preference.h"
#include "utils.h"
#include "tableau.h"
--- src/jeux.cc.orig 2009-01-19 23:27:45.000000000 +0100
+++ src/jeux.cc 2009-01-19 23:28:06.000000000 +0100
@@ -25,11 +25,11 @@
#include <windows.h>
#endif
-#include <iostream.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <math.h>
+#include <iostream>
+#include <cstdio>
+#include <cstdlib>
+#include <cstring>
+#include <cmath>
#include <SDL/SDL.h>
#include "jeux.h"
--- src/editeur.cc.orig 2009-01-19 23:28:10.000000000 +0100
+++ src/editeur.cc 2009-01-19 23:33:19.000000000 +0100
@@ -25,11 +25,13 @@
#include <windows.h>
#endif
-#include <iostream.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <math.h>
+#include <iostream>
+using std::cerr;
+using std::endl;
+#include <cstdio>
+#include <cstdlib>
+#include <cstring>
+#include <cmath>
#include <SDL/SDL.h>
#include "editeur.h"