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

[Bug]: 2.6.4: Build fails: error: ISO C++17 does not allow 'register' storage class specifier #214

Open
1 task done
yurivict opened this issue Nov 3, 2023 · 0 comments
Labels

Comments

@yurivict
Copy link

yurivict commented Nov 3, 2023

Contact Details

No response

What happened?

./hash_util.h:85:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  register unsigned a,b,c,len;
  ^~~~~~~~~
./hash_util.h:85:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  register unsigned a,b,c,len;
  ^~~~~~~~~
./hash_util.h:126:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  register short *k;        /* the key */
  ^~~~~~~~~
./hash_util.h:127:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  register unsigned  length;   /* the length of the key */
  ^~~~~~~~~

Version

2.6.x (Default)

Which operating system are you using?

No response

Does the problem occur with one of our executable program or the C-library?

No response

Relevant log output

clang-16
FreeBSD 13.2

Code of Conduct

  • I agree to follow this project's Code of Conduct
@yurivict yurivict added the bug label Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant