Lines 52-59
Link Here
|
52 |
// GCC and Intel C++ share same C++ ABI (and possibly others in the future), |
52 |
// GCC and Intel C++ share same C++ ABI (and possibly others in the future), |
53 |
// check if compiler versions are compatible: |
53 |
// check if compiler versions are compatible: |
54 |
#if defined(__GXX_ABI_VERSION) |
54 |
#if defined(__GXX_ABI_VERSION) |
55 |
#define __WX_BO_COMPILER \ |
55 |
// All the changes since ABI version 1002 so far have been insignificant, |
56 |
",compiler with C++ ABI " __WX_BO_STRINGIZE(__GXX_ABI_VERSION) |
56 |
// so just check for this value, first used for g++ 3.4 and used by default |
|
|
57 |
// by all g++ 4 versions, as checking for the exact ABI version simply |
58 |
// results in run-time breakage whenever a new gcc version is released, |
59 |
// even if there are no real problems. |
60 |
#if __GXX_ABI_VERSION >= 1002 |
61 |
#define __WX_BO_COMPILER \ |
62 |
",compiler with C++ ABI compatible with gcc 4" |
63 |
#else |
64 |
#define __WX_BO_COMPILER \ |
65 |
",compiler with C++ ABI " __WX_BO_STRINGIZE(__GXX_ABI_VERSION) |
66 |
#endif |
57 |
#elif defined(__GNUG__) |
67 |
#elif defined(__GNUG__) |
58 |
#define __WX_BO_COMPILER ",GCC " \ |
68 |
#define __WX_BO_COMPILER ",GCC " \ |
59 |
__WX_BO_STRINGIZE(__GNUC__) "." __WX_BO_STRINGIZE(__GNUC_MINOR__) |
69 |
__WX_BO_STRINGIZE(__GNUC__) "." __WX_BO_STRINGIZE(__GNUC_MINOR__) |