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

Fix initialization from incompatible pointer type compile warnings #42

Closed
ShaneHarvey opened this issue Feb 3, 2022 · 0 comments · Fixed by #49
Closed

Fix initialization from incompatible pointer type compile warnings #42

ShaneHarvey opened this issue Feb 3, 2022 · 0 comments · Fixed by #49

Comments

@ShaneHarvey
Copy link
Collaborator

We should fix these compile warnings:

/bsonjs.c -o build/temp.linux-x86_64-3.10/src/bsonjs.o
src/bsonjs.c:234:14: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
     {"dump", dump, METH_VARARGS | METH_KEYWORDS, dump__doc__},
              ^~~~
src/bsonjs.c:234:14: note: (near initialization for ‘BsonjsClientMethods[0].ml_meth’)
src/bsonjs.c:235:15: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
     {"dumps", dumps, METH_VARARGS | METH_KEYWORDS, dumps__doc__},
               ^~~~~
ShaneHarvey added a commit to ShaneHarvey/python-bsonjs that referenced this issue Aug 1, 2023
ShaneHarvey added a commit to ShaneHarvey/python-bsonjs that referenced this issue Aug 1, 2023
ShaneHarvey added a commit to ShaneHarvey/python-bsonjs that referenced this issue Aug 1, 2023
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 a pull request may close this issue.

1 participant