Author: pfg Date: Wed Dec 19 22:28:34 2012 New Revision: 1424178 URL: http://svn.apache.org/viewvc?rev=1424178&view=rev Log: Workaround for gcc bug.
Modified: openoffice/trunk/main/bridges/source/cpp_uno/gcc3_freebsd_x86-64/except.cxx Modified: openoffice/trunk/main/bridges/source/cpp_uno/gcc3_freebsd_x86-64/except.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/bridges/source/cpp_uno/gcc3_freebsd_x86-64/except.cxx?rev=1424178&r1=1424177&r2=1424178&view=diff ============================================================================== --- openoffice/trunk/main/bridges/source/cpp_uno/gcc3_freebsd_x86-64/except.cxx (original) +++ openoffice/trunk/main/bridges/source/cpp_uno/gcc3_freebsd_x86-64/except.cxx Wed Dec 19 22:28:34 2012 @@ -24,6 +24,10 @@ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_bridges.hxx" +#if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 6)) +#include <exception> +#endif + #include <stdio.h> #include <string.h> #include <dlfcn.h>