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,8 +668,10 @@ bool Abi::isCompatibleWith(const Abi &other) const
|
||||
|
||||
bool Abi::isFullyCompatibleWith(const Abi &other) const
|
||||
{
|
||||
return *this == other || (wordWidth() == other.wordWidth()
|
||||
&& compatibleMSVCFlavors(osFlavor(), other.osFlavor()));
|
||||
return *this == other
|
||||
|| (wordWidth() == other.wordWidth()
|
||||
&& architecture() == other.architecture()
|
||||
&& compatibleMSVCFlavors(osFlavor(), other.osFlavor()));
|
||||
}
|
||||
|
||||
bool Abi::isValid() const
|
||||
|
||||
Reference in New Issue
Block a user