From 5af8ace0d3f026078e0acd9898341e74da376a5c Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Fri, 20 Jul 2018 14:19:53 +0200 Subject: shiboken: Remove -fno-exceptions from Clang parse options The option is a workaround for an old LLVM bug and is no longer needed. Worse, it causes parse errors in code that declares throw(). Task-number: PYSIDE-62 Change-Id: Ib72b14cc704c04ae3b4197fd2af718276e3fe788 Reviewed-by: Alexandru Croitor --- sources/shiboken2/ApiExtractor/clangparser/clangparser.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'sources') diff --git a/sources/shiboken2/ApiExtractor/clangparser/clangparser.cpp b/sources/shiboken2/ApiExtractor/clangparser/clangparser.cpp index 301b4211e..ce0b6554d 100644 --- a/sources/shiboken2/ApiExtractor/clangparser/clangparser.cpp +++ b/sources/shiboken2/ApiExtractor/clangparser/clangparser.cpp @@ -199,7 +199,6 @@ static CXTranslationUnit createTranslationUnit(CXIndex index, #ifndef Q_OS_WIN "-fPIC", #endif - "-fno-exceptions", // Workaround for clang bug http://reviews.llvm.org/D17988 #ifdef Q_OS_MACOS "-Wno-expansion-to-defined", // Workaround for warnings in Darwin stdlib, see // https://github.com/darlinghq/darling/issues/204 -- cgit v1.2.3