The branch, master has been updated
via 3eca5150db07262c1c6eb737e12149201f631d47 (commit)
from 921059828c9a3a1d8f773ce5adb2afc4542f9622 (commit)
- Log -----------------------------------------------------------------
commit 3eca5150db07262c1c6eb737e12149201f631d47
Author: Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx>
Date: Tue Aug 6 13:42:06 2019 +0200
swig: python: fix unresolved symbol issue
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>
-----------------------------------------------------------------------
Summary of changes:
python/ftdi1.i | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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;
hooks/post-receive
--
A library to talk to FTDI chips
--
libftdi-git - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi-git+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|