Kaydet (Commit) aa12ecb5 authored tarafından Pedro Giffuni's avatar Pedro Giffuni

Fix build with gcc on FreeBSD-i386.

There is an issue building the bridges module with newer versions
of gcc. Merge a local workaround for gcc used in amd64 (r1424178)
to fix the build.

Reference:
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/187218
üst adb963c2
...@@ -24,11 +24,15 @@ ...@@ -24,11 +24,15 @@
// MARKER(update_precomp.py): autogen include statement, do not remove // MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_bridges.hxx" #include "precompiled_bridges.hxx"
#if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 6))
#include <exception>
#endif
#include <stdio.h> #include <stdio.h>
#include <string.h>
#include <dlfcn.h> #include <dlfcn.h>
#include <cxxabi.h> #include <cxxabi.h>
#include <hash_map> #include <hash_map>#include <sys/param.h>
#include <sys/param.h>
#include <rtl/strbuf.hxx> #include <rtl/strbuf.hxx>
#include <rtl/ustrbuf.hxx> #include <rtl/ustrbuf.hxx>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment