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

Dropping use of register keyword #233

Closed
wants to merge 1 commit into from

Conversation

listout
Copy link
Contributor

@listout listout commented Jun 1, 2023

The usage of register keyword was deprecated in c++14 and it's completely removed in c++17. Found will building virtualgl on gentoo with clang-16.

Bug: https://bugs.gentoo.org/898876

The usage of register keyword was deprecated in c++14 and it's
completely removed in c++17. Found will building virtualgl on gentoo
with clang-16.

Bug: https://bugs.gentoo.org/898876
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
@dcommander
Copy link
Member

Not sure why GitHub is suddenly not listing the commit that refers to this PR, but the fix was integrated in 441c4e7.

dcommander pushed a commit that referenced this pull request Jun 7, 2023
The 'register' keyword was deprecated in C++11 and removed in C++17, so
usage of that keyword in VirtualGL (more specifically in the in-tree
FLTK and MD5 code, not in the VGL code itself) prevented successful
compilation with newer compilers (e.g. Clang 16) unless -Wno-register
was specified.

Fixes https://bugs.gentoo.org/898876
Closes #233
dcommander pushed a commit that referenced this pull request Jun 7, 2023
The 'register' keyword was deprecated in C++11 and removed in C++17, so
usage of that keyword in VirtualGL (more specifically in the in-tree
FLTK and MD5 code, not in the VGL code itself) prevented successful
compilation with newer compilers (e.g. Clang 16) unless -Wno-register
was specified.

Fixes https://bugs.gentoo.org/898876
Closes #233
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants