diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-03-22 10:36:13 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-03-22 10:37:15 +0100 |
commit | 7ec7f0df2960b74552224f0a9f7489f152b5faa1 (patch) | |
tree | 9a4b4740d066897c08b30783f88807b72f4fc5ac /solenv | |
parent | ab2186d2c699f1ca041f7e3bde9620139a6f671c (diff) |
MinGW apparently needs to be forced into __cdecl
...otherwise bridges/source/cpp_uno/mingw_intel C++ ABI assumptions would not
meet what i686-w64-mingw32-g++ emits (though it is unclear to me how this shall
ever have worked before, as kendy claims it once did; also, at least for me,
"wine soffice.exe" still does not work, as there is apparently confusion about
C++ exception stack unwinding between GCC and cpp_uno/mingw_intel code).
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/platform/WNT_INTEL_GCC.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/solenv/gbuild/platform/WNT_INTEL_GCC.mk b/solenv/gbuild/platform/WNT_INTEL_GCC.mk index 161ad2cb41f8..363f1f3ead00 100644 --- a/solenv/gbuild/platform/WNT_INTEL_GCC.mk +++ b/solenv/gbuild/platform/WNT_INTEL_GCC.mk @@ -45,6 +45,7 @@ gb_COMPILERDEFS += \ -D_NATIVE_WCHAR_T_DEFINED \ -D_MSC_EXTENSIONS \ -D_FORCENAMELESSUNION \ + -DBOOST_MEM_FN_ENABLE_CDECL \ gb_RCDEFS := \ -DWINVER=0x0400 \ |