GCC 4.x fixes for Hurdy bits (1/5)

Alfred M. Szmidt ams@gnu.org
Fri Jun 10 06:28:00 GMT 2005


We need to strip out the weak_alias definitions from the generated MiG
code since gcc 4.x doesn't like that (no error message since I lost
it; if someone _really_ needs it then I will reproduce it).

2005-06-10  Alfred M. Szmidt  <ams@gnu.org>

	* mach/shortcut.awk: Skip `weak_alias' definitions in input
        file when producing output.

--- mach/shortcut.awk
+++ mach/shortcut.awk
@@ -5,6 +5,10 @@
 	inproto=0; proto=""; arglist="";
       }
 
+/^weak_alias \(/ {
+    next;
+}
+
 $1 == "LINTLIBRARY" { print "#include <mach.h>"; next }
 
 # Copy the first line of the definition, but



More information about the Libc-alpha mailing list