From a69dc826589acd483093b2e8830bf9f4c1d71913 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Thu, 20 Jun 2013 07:23:04 -0700 Subject: [PATCH] Support full compilation on Mac OS X with clang++. --- configure.ac | 3 +++ trampoline.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 02a84f0..bdca840 100644 --- a/configure.ac +++ b/configure.ac @@ -129,6 +129,9 @@ AC_DEFUN([CY_TEST_FLAG], [ AX_CFLAGS_WARN_ALL AX_CXXFLAGS_WARN_ALL +dnl XXX: this is used to support GNU Objective-C struct objc_method +CY_TEST_FLAG([-Wno-deprecated-declarations]) + CY_TEST_FLAG([-Wno-dangling-else]) CY_TEST_FLAG([-Wno-overloaded-virtual]) CY_TEST_FLAG([-Wno-parentheses]) diff --git a/trampoline.sh b/trampoline.sh index ff0720c..13248f9 100755 --- a/trampoline.sh +++ b/trampoline.sh @@ -105,7 +105,7 @@ for arch in "${archs[@]}"; do echo "*/" echo - echo "static Trampoline ${name}_${arch}_ = {" + echo "_disused static Trampoline ${name}_${arch}_ = {" echo " ${name}_${arch}_data_," echo " sizeof(${name}_${arch}_data_)," echo " ${name}_${arch}_entry_," -- 2.47.2