-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Following the instructions of how to add a module I do get the following error.
CC mymodule.c
mymodule.c:16:5: error: unknown field 'name' specified in initializer
.name = MP_QSTR_mymodule,
^
mymodule.c:16:5: error: initialization makes pointer from integer without a cast [-Werror]
mymodule.c:16:5: error: (near initialization for 'mp_module_mymodule.globals') [-Werror]
cc1: all warnings being treated as errors
../py/mkrules.mk:47: recipe for target 'build/mymodule.o' failed
make: *** [build/mymodule.o] Error 1
Metadata
Metadata
Assignees
Labels
No labels