Any idea what could be the reason? It seems to be related to swig, but on the other hand, maybe the flag '-fpermissive' should be added for now when calling gcc from setup.py?
gcc: 8.2.0
python: 3.7.0
swig: 3.0.12
gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -Iy/coin_wrap.cpp -o build/temp.linux-x86_64-3.7/pivy/coin_wrap.o -Iinterfaces -I/usr/include -I/usr/include/Inventor/annex -Wno-unused -Wno-maybe
pivy/coin_wrap.cpp: In function ‘void SoSensorPythonCB(void*, SoSensor*)’:
pivy/coin_wrap.cpp:6342:40: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
sensor_cast_name = PyUnicode_AsUTF8(item);
~~~~~~~~~~~~~~~~^~~~~~
pivy/coin_wrap.cpp: In function ‘void SoMarkerSet_addMarker__SWIG_3(int, const SbVec2s&, PyObject*, SbBool, SbBool)’:
pivy/coin_wrap.cpp:7236:43: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
coin_marker = PyUnicode_AsUTF8(string);
~~~~~~~~~~~~~~~~^~~~~~~~
Any idea what could be the reason? It seems to be related to swig, but on the other hand, maybe the flag '-fpermissive' should be added for now when calling gcc from setup.py?
gcc: 8.2.0 python: 3.7.0 swig: 3.0.12