Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 136465 Details for
Bug 156475
dev-libs/glib and extern inlines w/ gcc-4.3 [patch]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
glib-2.14.3-gcc4.3-inline.patch
glib-2.14.3-gcc4.3-inline.patch (text/plain), 928 bytes, created by
Ryan Hill (RETIRED)
on 2007-11-20 01:41:24 UTC
(
hide
)
Description:
glib-2.14.3-gcc4.3-inline.patch
Filename:
MIME Type:
Creator:
Ryan Hill (RETIRED)
Created:
2007-11-20 01:41:24 UTC
Size:
928 bytes
patch
obsolete
>GNOME #315437; Debian #416863; Gentoo #156475; fixes building of packages >using glib against GCC 4.2 and 4.3 > >Index: glib2.0-2.13.4/glib/gutils.h >=================================================================== >--- glib2.0-2.13.4.orig/glib/gutils.h 2007-06-16 18:27:37.000000000 +0200 >+++ glib2.0-2.13.4/glib/gutils.h 2007-06-16 18:30:08.000000000 +0200 >@@ -96,9 +96,14 @@ > #ifdef G_IMPLEMENT_INLINES > # define G_INLINE_FUNC > # undef G_CAN_INLINE >-#elif defined (__GNUC__) >-# define G_INLINE_FUNC extern inline >-#elif defined (G_CAN_INLINE) >+#elif defined (__GNUC__) >+# if __GNUC_PREREQ (4,2) && defined (__STDC_VERSION__) \ >+ && __STDC_VERSION__ >= 199901L >+# define G_INLINE_FUNC extern __inline __attribute__ ((__gnu_inline__)) >+# else >+# define G_INLINE_FUNC extern __inline >+# endif >+#elif defined (G_CAN_INLINE) > # define G_INLINE_FUNC static inline > #else /* can't inline */ > # define G_INLINE_FUNC
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 156475
:
102923
|
102924
| 136465