Makefile.src.in
changeset 7752 6e8fa98d98d3
parent 7414 54c0982e17ab
child 8060 0e36becca525
--- a/Makefile.src.in	Sat Jul 14 20:30:35 2007 +0000
+++ b/Makefile.src.in	Sat Jul 14 20:40:11 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