Workaround MinGW not handling error suppression macro correctly
Fixes: QTBUG-90353 Change-Id: I9270f4107f3f7083d28228f2426b34bc1e198112 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Kai Koehne <kai.koehne@qt.io> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
parent
976f28e7bb
commit
293b7fab55
@ -529,6 +529,12 @@ qt_internal_extend_target(Core CONDITION INTEGRITY
|
||||
--pending_instantiations=128
|
||||
)
|
||||
|
||||
# Workaround for QTBUG-90353
|
||||
# Remove if MinGW (our only supported gcc version < 9) is no longer supported
|
||||
qt_internal_extend_target(Core CONDITION GCC AND (CMAKE_CXX_COMPILER_VERSION VERSION_LESS "9.0.0")
|
||||
PUBLIC_COMPILE_OPTIONS -Wno-error=invalid-offsetof
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 14:.:.:corelib.pro:pathIsAbsolute(_ss_CMAKE_HOST_DATA_DIR):
|
||||
# CMAKE_HOST_DATA_DIR = "$$[QT_HOST_DATA/src]/"
|
||||
# CMAKE_HOST_DATA_DIR_IS_ABSOLUTE = "True"
|
||||
|
Loading…
Reference in New Issue
Block a user