This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]