[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GNU Mach and gcc 3.4 [repost]
From: |
Guillem Jover |
Subject: |
GNU Mach and gcc 3.4 [repost] |
Date: |
Sat, 22 Jan 2005 01:17:45 +0100 |
User-agent: |
Mutt/1.5.6+20040907i |
Hi,
[ This is a repost of the patch. ]
We are using this patch currently on the Debian gnumach package.
It fixes build failures with gcc 3.4.
I've corrected the stuff Alfred commented last time.
regards,
guillem
2005-01-10 Guillem Jover <guillem@hadrons.org>
* linux/dev/include/linux/skbuff.h (skb_put, skb_push): Fix errors
for deprecated use of labels at end of compound statements.
* i386/i386/fpe_linkage.c (enable_fpe): Declare.
diff -Naur gnumach-20040229.orig/linux/dev/include/linux/skbuff.h
gnumach-20040229/linux/dev/include/linux/skbuff.h
--- gnumach-20040229.orig/linux/dev/include/linux/skbuff.h 26 Apr 1999
05:48:00 -0000 1.1
+++ gnumach-20040229/linux/dev/include/linux/skbuff.h 15 Sep 2004 12:52:34
-0000
@@ -407,6 +407,7 @@
__label__ here;
panic("skput:over: %p:%d", &&here,len);
here:
+ ;
}
return tmp;
}
@@ -420,6 +421,7 @@
__label__ here;
panic("skpush:under: %p:%d", &&here,len);
here:
+ ;
}
return skb->data;
}
diff -Naur gnumach-20040229.orig/i386/i386/fpe_linkage.c
gnumach-20040229/i386/i386/fpe_linkage.c
--- gnumach-20040229.orig/i386/i386/fpe_linkage.c 2004-09-15
16:10:15.000000000 +0200
+++ gnumach-20040229/i386/i386/fpe_linkage.c 2004-09-15 16:09:23.000000000
+0200
@@ -84,6 +84,7 @@
((struct real_gate *)&curr_idt(mycpu)[idx])
void set_user_access(); /* forward */
+void enable_fpe(register struct i386_fpsave_state *ifps);
/*
* long pointer for calling FPE register recovery routine.
- GNU Mach and gcc 3.4 [repost],
Guillem Jover <=