From 1be7827981048291331343be06b0e84be45592c3 Mon Sep 17 00:00:00 2001 From: Andrzej Kotulski Date: Wed, 20 Apr 2016 03:22:23 -0700 Subject: [PATCH] Fix compilation issues with objc modules Summary:It turns out, apple clang turns off cxx-modules under the hood. Open source clang doesn't do it by default and we need to do it ourselves. Reviewed By: jvillard, martinoluca Differential Revision: D3201604 fb-gh-sync-id: 82cea0f fbshipit-source-id: 82cea0f --- infer/lib/xcode_wrappers/clang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infer/lib/xcode_wrappers/clang b/infer/lib/xcode_wrappers/clang index 1e9f27c2c..7b0536a62 100755 --- a/infer/lib/xcode_wrappers/clang +++ b/infer/lib/xcode_wrappers/clang @@ -18,4 +18,4 @@ if [ -z "$INFER_RESULTS_DIR" ]; then fi -"${CLANG_WRAPPERS_PATH%/}/clang_general_wrapper$XX" "$@" +"${CLANG_WRAPPERS_PATH%/}/clang_general_wrapper$XX" "$@" -fno-cxx-modules