2015-11-06, 09:53
Hi,
I finally got time to upgrade to 15.2 yesterday afternoon (I was using RC2 for a long time) and I just have to report three warnings I saw during the compilation.
Nothing serious preventing the build, just warnings that could be tune in the code I guess.
1-
2-
3-
Thank you for this awesome piece of software you are writing, keep up the EXCELLENT work !
I finally got time to upgrade to 15.2 yesterday afternoon (I was using RC2 for a long time) and I just have to report three warnings I saw during the compilation.
Nothing serious preventing the build, just warnings that could be tune in the code I guess.
1-
Quote:CPP lib/SlingboxLib/SlingboxLib.o
SlingboxLib.cpp: In member function ‘bool CSlingbox::Connect(bool, const char*)’:
SlingboxLib.cpp:174:5: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
"Pragma: Sling-Connection-Type=Control, Session-Id=0\r\n\r\n";
^
2-
Quote:CC xbmc/cores/DllLoader/ldt_keeper.o
ldt_keeper.c: In function ‘Setup_LDT_Keeper’:
ldt_keeper.c:258:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
*(void**)array.base_addr = ldt_fs->prev_struct;
^
3-
Quote:CPP xbmc/interfaces/python/swig.o
swig.cpp: In static member function ‘static bool PythonBindings:ythonToCppException:arsePythonException(std:tring&, std:tring&, std:tring&)’:
swig.cpp:199:190: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
PyObject *tbList = PyObject_CallMethod(tracebackModule, "format_exception", "OOO", exc_type, exc_value == NULL ? Py_None : exc_value, exc_traceback == NULL ? Py_None : exc_traceback);
^
swig.cpp:199:190: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
swig.cpp:201:83: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
PyObject *strRetval = PyObject_CallMethod(emptyString, "join", "O", tbList);
^
swig.cpp:201:83: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
Thank you for this awesome piece of software you are writing, keep up the EXCELLENT work !