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
libgearman/client.cc compilation errors #76
Comments
Thank you for reporting, @jwakely. |
Some TODO's with regard to the issue:
|
I'd like to get this one in and release 1.1.15 soon as there are other unreleased fixes in master. I don't have a lot of time to look at the issue, but I'd say one approach is to ensure there's adequate test coverage here, and make the most obvious change. |
I'm only a novice at reading the gearmand code, but, after looking it over, I think it should be:
|
ISO C++ forbids comparison between pointer and integer
@esabol, I'll test it twice to be on the safe side. |
Do those
What do you think? |
actually none of them. |
assert type of gearman_connection_create
ISO C++ forbids comparison between pointer and integer
Somebody is confused about the difference between pointers and booleans.
The first two are easy to fix (see #75) but the other one isn't so obvious. Is it supposed to be checking for null pointers?
or this, would would crash if they're null (and the checks a few lines above suggest they can be):
or maybe:
or something else entirely.
Please advise, and I'll update the pull request.
The text was updated successfully, but these errors were encountered: