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

Remove register #25

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Remove register #25

wants to merge 6 commits into from

Conversation

cielavenir
Copy link

@cielavenir cielavenir commented Nov 13, 2024

register raises error on C++17


just in case, I just cherry-picked some upstream commits.

taketwo and others added 6 commits November 13, 2024 09:27
Officially deprecated since c++11, but became useless long ago.
Unclear why nobody has noticed for a decade that this code was just totally uncompilable. `SparseMatrix` does not have methods `Columns()` or `Rows()`, and `m_ppElements[i]` is a pointer so can't possibly have anything called with `.`.
…ompatible with C++17 [-Wdeprecated-register]
@cielavenir
Copy link
Author

a262c64

please check PointCloudLibrary#6113

@cielavenir
Copy link
Author

Pipeline #996359

Copy link

@lazydroid lazydroid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would rather have this split into two separate MRs, one about removing "register", another about fixing other issues. Otherwise, LGTM, thank you!

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

Successfully merging this pull request may close these issues.

6 participants