diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-10-22 13:41:45 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-10-22 13:42:54 +0200 |
commit | e9a09f9e4a308052c2ca6d6435c01b000004d7bf (patch) | |
tree | ca76ad6ffc1307f23712790751ba9fb12e200ebf /bridges | |
parent | 2006bc9d5acc80038577bc295b45fa8dcd8766e2 (diff) |
dummy_can_throw_anything reportedly needed at least with GCC 4.5.1, too
...see
<http://lists.freedesktop.org/archives/libreoffice/2012-October/039995.html>
"RuntimeException while building"
Change-Id: I038806d4ca1d7a2a2518106ba722509fbe3a7843
Diffstat (limited to 'bridges')
-rw-r--r-- | bridges/source/cpp_uno/gcc3_linux_intel/callvirtualmethod.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_intel/callvirtualmethod.cxx b/bridges/source/cpp_uno/gcc3_linux_intel/callvirtualmethod.cxx index 56612d2f6d3a..cb4b57402999 100644 --- a/bridges/source/cpp_uno/gcc3_linux_intel/callvirtualmethod.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_intel/callvirtualmethod.cxx @@ -67,7 +67,7 @@ void CPPU_CURRENT_NAMESPACE::callVirtualMethod( // unexpected size of int assert(nStackLongs && pStackLongs); // no stack -#ifdef __clang__ +#if defined __clang__ || __GNUC__ == 4 && __GNUC_MINOR__ <= 6 if (! pAdjustedThisPtr) CPPU_CURRENT_NAMESPACE::dummy_can_throw_anything("xxx"); // address something #endif |