QCryptographicHash: fix incorrect GCC check
It's Q_CC_GNU, not Q_CC_GCC. Amends 0411d98192ede84b115618ece876579fd79252f8. Change-Id: I56c4393e5955ac1bbcc8a198b11487cff775b16d Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> (cherry picked from commit 5c96b2a864d7cd522c2e1c9bb842c2d9d8b11692) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
ea50a2deb5
commit
2969f119eb
@ -1246,7 +1246,7 @@ static constexpr int qt_hash_block_size(QCryptographicHash::Algorithm method)
|
||||
return BLAKE2S_BLOCKBYTES;
|
||||
#endif // QT_CRYPTOGRAPHICHASH_ONLY_SHA1
|
||||
case QCryptographicHash::NumAlgorithms:
|
||||
#if !defined(Q_GCC_ONLY) || Q_CC_GCC >= 900
|
||||
#if !defined(Q_CC_GNU_ONLY) || Q_CC_GNU >= 900
|
||||
// GCC 8 has trouble with Q_UNREACHABLE() in constexpr functions
|
||||
Q_UNREACHABLE();
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user