SOURCES: glibc-gcc42.patch (NEW) - support gcc 4.2.0 without exter...

qboosh qboosh at pld-linux.org
Sat May 19 14:17:31 CEST 2007


Author: qboosh                       Date: Sat May 19 12:17:31 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- support gcc 4.2.0 without extern inline warnings

---- Files affected:
SOURCES:
   glibc-gcc42.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/glibc-gcc42.patch
diff -u /dev/null SOURCES/glibc-gcc42.patch:1.1
--- /dev/null	Sat May 19 14:17:31 2007
+++ SOURCES/glibc-gcc42.patch	Sat May 19 14:17:26 2007
@@ -0,0 +1,11 @@
+--- glibc-2.6/misc/sys/cdefs.h.orig	2007-03-17 18:02:27.000000000 +0100
++++ glibc-2.6/misc/sys/cdefs.h	2007-05-19 14:14:49.458415181 +0200
+@@ -281,7 +281,7 @@
+ 
+ /* GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
+    inline semantics, unless -fgnu89-inline is used.  */
+-#ifdef __GNUC_STDC_INLINE__
++#ifdef __GNUC_GNU_INLINE__
+ # define __extern_inline extern __inline __attribute__ ((__gnu_inline__))
+ # define __extern_always_inline \
+   extern __always_inline __attribute__ ((__gnu_inline__))
================================================================


More information about the pld-cvs-commit mailing list