_ROOT Version: 6.15
_Platform: macos
_Compiler: mac default
bug.md buffers
/Users/chenxu/software/ROOT/git/bindings/pyroot/src/PyRootType.cxx:103:22: error:
¦ ¦ cannot initialize a variable of type ‘char *’ with an rvalue of type
¦ ¦ 'const char ’
¦ ¦ ¦ ¦ ¦ ¦ ¦char cppname = PyROOT_PyUnicode_AsString(pycppname);
¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [bindings/pyroot/CMakeFiles/PyROOT.dir/src/PyRootType.cxx.o] Error 1
/Users/chenxu/software/ROOT/git/bindings/pyroot/src/TPyROOTApplication.cxx:101:16: error:
¦ ¦ cannot initialize a variable of type ‘char *’ with an rvalue of type
¦ ¦ 'const char ’
¦ ¦ ¦ ¦char argi = PyROOT_PyUnicode_AsString( PyList_GET_ITEM( argl, i ) );
¦ ¦ ¦ ¦ ¦ ¦ ¦^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
/Users/chenxu/software/ROOT/git/bindings/pyroot/src/TPyROOTApplication.cxx:107:22: error:
¦ ¦ assigning to ‘char *’ from incompatible type ‘const char *’
¦ ¦ ¦ ¦argv[ i ] = argi;
¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦^~~~
1 error generated.
there may be some other bugs ,I’m still debugging
