Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 563246 Details for
Bug 676878
x11-libs/wxGTK - backport patch to ignore new GXX ABI versions
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
relax ABI patch for gcc
relax-ABI.patch (text/plain), 1.17 KB, created by
Brian Evans (RETIRED)
on 2019-01-29 23:14:07 UTC
(
hide
)
Description:
relax ABI patch for gcc
Filename:
MIME Type:
Creator:
Brian Evans (RETIRED)
Created:
2019-01-29 23:14:07 UTC
Size:
1.17 KB
patch
obsolete
>diff --git a/include/wx/build.h b/include/wx/build.h >index 473e0c9a6a..43f43cbf68 100644 >--- a/include/wx/build.h >+++ b/include/wx/build.h >@@ -52,8 +52,18 @@ > // GCC and Intel C++ share same C++ ABI (and possibly others in the future), > // check if compiler versions are compatible: > #if defined(__GXX_ABI_VERSION) >- #define __WX_BO_COMPILER \ >- ",compiler with C++ ABI " __WX_BO_STRINGIZE(__GXX_ABI_VERSION) >+ // All the changes since ABI version 1002 so far have been insignificant, >+ // so just check for this value, first used for g++ 3.4 and used by default >+ // by all g++ 4 versions, as checking for the exact ABI version simply >+ // results in run-time breakage whenever a new gcc version is released, >+ // even if there are no real problems. >+ #if __GXX_ABI_VERSION >= 1002 >+ #define __WX_BO_COMPILER \ >+ ",compiler with C++ ABI compatible with gcc 4" >+ #else >+ #define __WX_BO_COMPILER \ >+ ",compiler with C++ ABI " __WX_BO_STRINGIZE(__GXX_ABI_VERSION) >+ #endif > #elif defined(__GNUG__) > #define __WX_BO_COMPILER ",GCC " \ > __WX_BO_STRINGIZE(__GNUC__) "." __WX_BO_STRINGIZE(__GNUC_MINOR__)
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 676878
: 563246