-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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 FZ-API #2747
Remove FZ-API #2747
Conversation
As suggested in #2701 (comment), let's keep the grabber header around. Remove everything and just put a error pragma with an explanation what happened and perhaps a link to the GitHub issue where we discussed the removal. If somebody is affected indeed, this will be helpful. |
Can you explain, who you want to have implemented this error pragma? E.g. for io/CMakeLists.txt:
Or keep most things in CMake and have io/include/pcl/io/fotonic_grabber.h:
|
I meant something similar to your second code snippet. However I'm not sure what you mean by "keep most things in CMake". I think it's fine to remove everything related to FZ from CMake and unconditionally install this header with The problem with the first option is that all our grabbers are |
I added a commit to add error pragma as discussion based. Commits should squashed before merge.
Can we change default to OFF for this plugin? @jspricke What do you think about the way error pragma is implemented? |
I think we should remove it entirely, i.e. including this line: Line 314 in a023a4f
|
If we remove all the sources, there is no need to add a |
Sure, they will find out themselves that the file is missing. But to understand why they will need to first check their CMake configuration to see if there is a mistake, then check Git history to find the commit that removed it, then find the PR/issue on GitHub with explanation. I think it would be nice if we spare them some time, by providing a pointer. @SunBlack was eager to wipe out the sources for the following reasons:
So if we are not removing the code, we can as well go through a proper deprecation procedure. |
So compared with current master:
|
This is what I would do:
|
Added a error pragma in case someone is still fotonic_grabber.
31af5af
to
3da7f45
Compare
New try. Hope this time everything is okay. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Solves #2701