Casting errors in edslib_python_buffer.c when compiling on a 32-bit Raspberry Pi
dmccomas opened this issue · 1 comments
dmccomas commented
jphickey commented
Yeah, these are bogus warnings, notably some of them are actually in the Python headers, not here (i.e. in the definition of the PyObject_New
macro).
One workaround might be to use void
instead of the real/intended pointer type. C will allow a void*
to be implicitly cast to any other pointer type and won't issue a warning about it.