summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2020-03-13 09:48:12 +0100
committerTopi Reinio <topi.reinio@qt.io>2020-03-13 12:00:55 +0100
commitee49537f31aff32fa674292d3d413d8d40f661a7 (patch)
tree5cfa16c404d6d686a5054dd05af1a9049fd959c3
parent98a4e4291da098b19a4a60fa8dbfcbdfa3b6a123 (diff)
downloadqttools-ee49537f31aff32fa674292d3d413d8d40f661a7.tar.gz
qdoc: Add -fvisibility=default to the default arguments passed to Clang
This resolves some potential compile issues related to standard GCC headers. Fixes: QTBUG-69560 Change-Id: I17e0a90eca4384cd8b2171e53cee83cc77f7e1ab Reviewed-by: Paul Wicking <paul.wicking@qt.io>
-rw-r--r--src/qdoc/clangcodeparser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qdoc/clangcodeparser.cpp b/src/qdoc/clangcodeparser.cpp
index 550039b2a..3948bbf72 100644
--- a/src/qdoc/clangcodeparser.cpp
+++ b/src/qdoc/clangcodeparser.cpp
@@ -1225,6 +1225,7 @@ static const char *defaultArgs_[] = {
"-Wno-constant-logical-operand",
"-Wno-macro-redefined",
"-Wno-nullability-completeness",
+ "-fvisibility=default",
"-ferror-limit=0",
"-I" CLANG_RESOURCE_DIR
};