-
Notifications
You must be signed in to change notification settings - Fork 914
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
[backport kinetic] rosconsole: don't use 0 as null pointer in macros #1730
Conversation
But use `NULL`, which will evaluate to `nullptr` on platforms where appropriate and `0` elsewhere. Identical to ros/rosconsole#14.
why not nullptr? This will actually silence compiler warnings. |
This is a straight copy of ros/rosconsole#14.
According to the author of ros/rosconsole#14. |
Well, ok. Let's merge this! |
I changed the target branch to |
@dirk-thomas: I'm not sure I understand: I thought that That's why I asked about Kinetic and |
@dirk-thomas: 🛎️ ? |
@ros-pull-request-builder retest this please |
Thanks for the patch. (The Melodic CI results aren't valid anymore.) |
Thanks @dirk-thomas 👍 apologies for the confusion. |
As per subject.
Essentially ros/rosconsole#14.
PR as suggested in ros/rosconsole#14 (comment).