Makefile.src.in
branchNewGRF_ports
changeset 6725 23339968083f
parent 6720 35756db7e577
child 6870 ca3fd1fbe311
--- a/Makefile.src.in	Mon Jul 16 21:11:29 2007 +0000
+++ b/Makefile.src.in	Mon Jul 16 21:22:24 2007 +0000
@@ -61,7 +61,10 @@
 #  gcc 2.95.3 and lower, as it should indicate that it is a C-linkage, but the
 #  compiler can't handle that information (just don't ask). So we remove it
 #  and then it compiles happily and without bitching :)
-GCC295_FIX_2=sed -e 's|\(^\# [0-9][0-9]* "[^"]*"[ 0-9]*\) 4$$|\1|g'
+# Furthermore gcc 2.95 has some trouble with protected and private when
+#  accessing the protected/private stuff of the enclosing class (or the
+#  super class of the enclosing class).
+GCC295_FIX_2=sed -e 's|\(^\# [0-9][0-9]* "[^"]*"[ 0-9]*\) 4$$|\1|g;s|private:|public:|g;s|protected:|public:|g'
 
 # Check if we want to show what we are doing
 ifdef VERBOSE