Skip to content
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

hints for warnings are mismatched #377

Open
mateuszzz88 opened this issue Jun 14, 2021 · 0 comments
Open

hints for warnings are mismatched #377

mateuszzz88 opened this issue Jun 14, 2021 · 0 comments

Comments

@mateuszzz88
Copy link

Some warnings show where problem is pinpointing particular character. After xcpretty the hints are wrong

⚠️  /Users/mateuszl/src/borg/separate_libs/libs/box_db_wrapper/src/MutatingBoxDatabaseWrapper.cpp:234:53: loop variable 'keyValue' of type 'const std::pair<ItemId, std::set<ItemId>> &' (aka 'const pair<basic_uint<BasicUIntSize::SIZE128>, set<basic_uint<BasicUIntSize::SIZE128>>> &') binds to a temporary constructed from type 'std::__1::__map_const_iterator<std::__1::__tree_const_iterator<std::__1::__value_type<Borg::basic_uint<BasicUIntSize::SIZE128>, std::__1::set<Borg::basic_uint<BasicUIntSize::SIZE128>>>, std::__1::__tree_node<std::__1::__value_type<Borg::basic_uint<BasicUIntSize::SIZE128>, std::__1::set<Borg::basic_uint<BasicUIntSize::SIZE128>>>, void *> *, long>>::reference' (aka 'const pair<const Borg::basic_uint<BasicUIntSize::SIZE128>, std::__1::set<Borg::basic_uint<BasicUIntSize::SIZE128>>> &') [-Wrange-loop-construct]

    for (const std::pair<ItemId, std::set<ItemId>> &keyValue : mutating_fixed_item_ids) {
      ^
⚠️  /Users/mateuszl/src/borg/separate_libs/libs/crypto_types/include/borg/crypto_types/CCertXBorgUser.h:133:12: struct 'UserKeysAndCertMock' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]

    friend struct Borg::Box::Test::UserKeysAndCertMock;
      ^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant