summaryrefslogtreecommitdiffstats
path: root/src/assistant
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2019-08-13 13:26:48 +0200
committerTopi Reinio <topi.reinio@qt.io>2019-08-21 15:04:42 +0200
commit6a5fb1ef73fc7a917efe3670fcdfa7aa6e09df86 (patch)
tree3ee19021c42f04b2c94acf86e3f5d217607b7f6a /src/assistant
parent771fdc5b13f1b13c82eeaf513696b2e564326b80 (diff)
qdoc: Avoid errors related to PCH usage
Remove whitespace from the default parameters passed to Clang, and add '-ferror-limit=0' to disable the error limit. This helps to ensure we get a usable precompiled header on all platforms. Another issue that manifested on Windows was the order in which the (temporary) module header and the PCH was built - after writing the module header, its QFile was closed at the end of the function scope, and it received a timestamp later than the PCH. Some versions of libclang see this (rightfully) as a problem. Close the module header file handle before generating the PCH. Task-number: QTBUG-75053 Change-Id: I61d066c40eddfdfdcc4c8cd847f6bec40652f9e0 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/assistant')
0 files changed, 0 insertions, 0 deletions