-Werror=implicit-function-declaration, strictly necessary? #232
-
I am pretty new to pyodide and cmake but I am attempting to use cibuildwheel with scikit-core-build to wrap a C library that uses very old (like c89) conventions and for complicated reasons isn't easily patchable. The library does not ship a cmakelists file, so I am authoring one at https://github.com/AndrewAnnex/cspice-cmake-spiceypy which I have control over. With cibuildwheel, I am running into errors due to the inclusion of pyodide-build/pyodide_build/pywasmcross.py Lines 589 to 595 in 3534e86 My basic question, not being deeply familiar with pyodide, is if this is actually necessary to hardcode within pyodide-build? Could it be possible to make this adjustable via environment variables etc? If it is absolutely necessary, I would appreciate advice for what else I can do. I am very new to cmake, but maybe there are some better ways to patch source files to make these adjustments. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Maybe we can remove those hardcoded flags and make it configurable. Meanwhile, I think you can try appending |
Beta Was this translation helpful? Give feedback.
I think so, but the author mentioned "a very old code using c89 standard", so maybe the code was written in that way.