New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build error with 5.3.2: invalid type annotation for blockinfo
iterator
#6306
Comments
The error is the inability to convert from:
to:
This was almost certainly caused by #6192, specifically aee8d5c#diff-cafbe1353eff6084b73fd3b6c3dee603e0827348fdd2fe12dfad1e01003a84edR385: - bool CBlockTreeDB::WriteBatchSync(const std::vector<std::pair<int, const CBlockFileInfo*> >& fileInfo, int nLastFile, const std::vector<const CBlockIndex*>& blockinfo) {
+ bool CBlockTreeDB::WriteBatchSync(const std::vector<std::pair<int, const CBlockFileInfo*> >& fileInfo, int nLastFile, const std::vector<CBlockIndex*>& blockinfo) { Are you building with |
I notice that my VS Code editor is defaulting to error checking with |
The const annotation was removed from the blockinfo type in zcash#6192, but not from the type of its iterator. Recent Clang versions are able to handle this, but GCC 11 (and it appears older Clang versions) raise an error. Closes zcash#6306.
Opened #6314 with a fix. Let me know if it works for you. |
blockinfo
iterator
The const annotation was removed from the blockinfo type in zcash/zcash#6192, but not from the type of its iterator. Recent Clang versions are able to handle this, but GCC 11 (and it appears older Clang versions) raise an error. Closes zcash/zcash#6306.
The const annotation was removed from the blockinfo type in zcash/zcash#6192, but not from the type of its iterator. Recent Clang versions are able to handle this, but GCC 11 (and it appears older Clang versions) raise an error. Closes zcash/zcash#6306.
I've noticed a build failure with the 5.3.2 release:
Full build log
The text was updated successfully, but these errors were encountered: