Hi Yegor,
You wrote on Tue, Aug 06, 2019 at 01:42:06PM +0200:
> From: Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx>
>
> GCC later than 5.x produce _fdti1.so file with an undefined
> symbol str2charp_size due to C99 inline semantics change. So
> remove this keyword.
>
> Signed-off-by: Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx>
> ---
> python/ftdi1.i | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/python/ftdi1.i b/python/ftdi1.i
> index d53ebb0..f397f84 100644
> --- a/python/ftdi1.i
> +++ b/python/ftdi1.i
> @@ -19,7 +19,7 @@ inline PyObject* charp2str(const char *v_, long len)
> #endif
> }
>
> -inline char * str2charp_size(PyObject* pyObj, int * size)
> +char * str2charp_size(PyObject* pyObj, int * size)
> {
> char * v_ = 0;
> Py_ssize_t len = 0;
applied, thanks!
Cheers,
Thomas
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|