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

'register' storage class specifier is deprecated and incompatible with C++17 #70

Open
mweisgut opened this issue Nov 22, 2020 · 0 comments

Comments

@mweisgut
Copy link

The keyword register is used, which is removed since C++17.
https://en.cppreference.com/w/cpp/keyword/register

In file included from ../third_party/BwTree/src/bwtree.cpp:14:
In file included from ../third_party/BwTree/src/bwtree.h:63:
../third_party/BwTree/src/bloom_filter.h:138:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    register size_t hash_value = value_hash_obj(value);
    ^~~~~~~~~
../third_party/BwTree/src/bloom_filter.h:173:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    register size_t hash_value = value_hash_obj(value);
    ^~~~~~~~~
2 warnings generated.
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