forked from qt-creator/qt-creator
ProjectExplorer: Fix MSVC compatibility check
Amends bd03041428.
Fixes: QTCREATORBUG-23706
Change-Id: I2ebf4c350cd0ff6b95535f614eec2379a704a0d4
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
This commit is contained in:
@@ -668,7 +668,9 @@ bool Abi::isCompatibleWith(const Abi &other) const
|
|||||||
|
|
||||||
bool Abi::isFullyCompatibleWith(const Abi &other) const
|
bool Abi::isFullyCompatibleWith(const Abi &other) const
|
||||||
{
|
{
|
||||||
return *this == other || (wordWidth() == other.wordWidth()
|
return *this == other
|
||||||
|
|| (wordWidth() == other.wordWidth()
|
||||||
|
&& architecture() == other.architecture()
|
||||||
&& compatibleMSVCFlavors(osFlavor(), other.osFlavor()));
|
&& compatibleMSVCFlavors(osFlavor(), other.osFlavor()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user