Skip to content

Fix function type, fixing clang compilation#11

Open
cielavenir wants to merge 1 commit intopalaviv:developfrom
cielavenir:fixFunctionType
Open

Fix function type, fixing clang compilation#11
cielavenir wants to merge 1 commit intopalaviv:developfrom
cielavenir:fixFunctionType

Conversation

@cielavenir
Copy link
Copy Markdown

clang-16 -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-RNBry6/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -march=native -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.9 -c eventfd/_eventfd.c -o /home/mujin/mujin/jhbuildappcontroller/build/eventfd/temp.linux-x86_64-3.9/eventfd/_eventfd.o
eventfd/_eventfd.c:21:18: error: incompatible function pointer types initializing 'PyCFunction' (aka 'struct _object *(*)(struct _object *, struct _object *)') with an expression of type 'PyObject *(PyObject *)' (aka 'struct _object *(struct _object *)') [-Wincompatible-function-pointer-types]
     {"eventfd", _eventfd, METH_NOARGS, "return new eventfd"},

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.

1 participant