Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- **** /usr/bin/python -u ./setup.py build_ext --inplace UNICODE=1 BUILD_BASE=build WX_CONFIG=/home/jay/Downloads/wxPython-src-3.0.2.0/bld/wx-config
- WARNING: WXWIN not set in environment. Assuming '..'
- Preparing CORE...
- Preparing STC...
- Preparing GLCANVAS...
- Preparing GIZMOS...
- running build_ext
- running build_ext
- building '_core_' extension
- creating build
- creating build/temp.linux-x86_64-2.7
- creating build/temp.linux-x86_64-2.7/src
- creating build/temp.linux-x86_64-2.7/src/gtk
- gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DSWIG_TYPE_TABLE=_wxPython_table -DSWIG_PYTHON_OUTPUT_TUPLE -DSWIG_PYTHON_SILENT_MEMLEAK -DWXP_USE_THREAD=1 -UNDEBUG -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -Iinclude -Isrc -I/home/jay/Downloads/wxPython-src-3.0.2.0/bld/lib/wx/include/gtk2-unicode-3.0 -I/home/jay/Downloads/wxPython-src-3.0.2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/python2.7 -c src/helpers.cpp -o build/temp.linux-x86_64-2.7/src/helpers.o -pthread -O3 -pthread
- src/helpers.cpp: In member function ‘void wxPyApp::_BootstrapApp()’:
- src/helpers.cpp:565:51: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- PyObject* sysargv = PySys_GetObject("argv");
- ^
- src/helpers.cpp:574:57: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- pyArg = PySys_GetObject("executable");
- ^
- src/helpers.cpp: In function ‘PyObject* __wxPySetDictionary(PyObject*, PyObject*)’:
- src/helpers.cpp:805:73: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- PyExc_AssertionError, NULL);
- ^
- src/helpers.cpp:810:67: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- PyExc_RuntimeError, NULL);
- ^
- src/helpers.cpp: In function ‘void wxPyOORClientData_dtor(wxPyOORClientData*)’:
- src/helpers.cpp:963:74: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- PyObject* rv = PyObject_CallMethod(obj, "__del__", NULL);
- ^
- src/helpers.cpp: In static member function ‘static wxPyCBInputStream* wxPyCBInputStream::create(PyObject*, bool)’:
- src/helpers.cpp:1439:46: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- PyObject* read = wxPyGetMethod(py, "read");
- ^
- src/helpers.cpp:1440:46: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- PyObject* seek = wxPyGetMethod(py, "seek");
- ^
- src/helpers.cpp:1441:46: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- PyObject* tell = wxPyGetMethod(py, "tell");
- ^
- src/helpers.cpp: In static member function ‘static wxPyCBOutputStream* wxPyCBOutputStream::create(PyObject*, bool)’:
- src/helpers.cpp:1632:48: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- PyObject* write = wxPyGetMethod(py, "write");
- ^
- src/helpers.cpp:1633:46: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- PyObject* seek = wxPyGetMethod(py, "seek");
- ^
- src/helpers.cpp:1634:46: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- PyObject* tell = wxPyGetMethod(py, "tell");
- ^
- src/helpers.cpp: In member function ‘void wxPyCallback::EventThunker(wxEvent&)’:
- src/helpers.cpp:1838:63: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- result = PyObject_CallMethod(arg, "GetSkipped", "");
- ^
- src/helpers.cpp:1838:63: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- src/helpers.cpp: In function ‘bool wxColour_helper(PyObject*, wxColour**)’:
- src/helpers.cpp:3086:64: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- if (((pos = spec.Find(':', true)) != wxNOT_FOUND) && (pos == spec.length()-3)) {
- ^
- gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DSWIG_TYPE_TABLE=_wxPython_table -DSWIG_PYTHON_OUTPUT_TUPLE -DSWIG_PYTHON_SILENT_MEMLEAK -DWXP_USE_THREAD=1 -UNDEBUG -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -Iinclude -Isrc -I/home/jay/Downloads/wxPython-src-3.0.2.0/bld/lib/wx/include/gtk2-unicode-3.0 -I/home/jay/Downloads/wxPython-src-3.0.2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/python2.7 -c src/gtk/_core_wrap.cpp -o build/temp.linux-x86_64-2.7/src/gtk/_core_wrap.o -pthread -O3 -pthread
- src/gtk/_core_wrap.cpp: In function ‘void SWIG_Python_AddErrorMsg(const char*)’:
- src/gtk/_core_wrap.cpp:864:42: error: format not a string literal and no format arguments [-Werror=format-security]
- PyErr_Format(PyExc_RuntimeError, mesg);
- ^
- src/gtk/_core_wrap.cpp: In function ‘void PySwigObject_dealloc(PyObject*)’:
- src/gtk/_core_wrap.cpp:1447:19: warning: unused variable ‘name’ [-Wunused-variable]
- const char *name = SWIG_TypePrettyName(ty);
- ^
- src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_Point2D___iadd__(PyObject*, PyObject*, PyObject*)’:
- src/gtk/_core_wrap.cpp:9399:14: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
- wxPoint2D *result = 0 ;
- ^
- src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_Point2D___isub__(PyObject*, PyObject*, PyObject*)’:
- src/gtk/_core_wrap.cpp:9439:14: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
- wxPoint2D *result = 0 ;
- ^
- src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_Point2D___imul__(PyObject*, PyObject*)’:
- src/gtk/_core_wrap.cpp:9479:14: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
- wxPoint2D *result = 0 ;
- ^
- src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_Point2D___idiv__(PyObject*, PyObject*)’:
- src/gtk/_core_wrap.cpp:9515:14: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
- wxPoint2D *result = 0 ;
- ^
- src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_Image_Rescale(PyObject*, PyObject*, PyObject*)’:
- src/gtk/_core_wrap.cpp:18188:12: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
- wxImage *result = 0 ;
- ^
- src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_Image_Resize(PyObject*, PyObject*, PyObject*)’:
- src/gtk/_core_wrap.cpp:18254:12: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
- wxImage *result = 0 ;
- ^
- src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_Window_SetVirtualSizeHints(PyObject*, PyObject*, PyObject*)’:
- src/gtk/_core_wrap.cpp:39615:52: warning: ‘virtual void wxWindowBase::SetVirtualSizeHints(int, int, int, int)’ is deprecated (declared at /home/jay/Downloads/wxPython-src-3.0.2.0/include/wx/window.h:459) [-Wdeprecated-declarations]
- (arg1)->SetVirtualSizeHints(arg2,arg3,arg4,arg5);
- ^
- src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_Window_SetVirtualSizeHintsSz(PyObject*, PyObject*, PyObject*)’:
- src/gtk/_core_wrap.cpp:39661:76: warning: ‘void wxWindowBase::SetVirtualSizeHints(const wxSize&, const wxSize&)’ is deprecated (declared at /home/jay/Downloads/wxPython-src-3.0.2.0/include/wx/window.h:461) [-Wdeprecated-declarations]
- (arg1)->SetVirtualSizeHints((wxSize const &)*arg2,(wxSize const &)*arg3);
- ^
- src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_Window_MakeModal(PyObject*, PyObject*, PyObject*)’:
- src/gtk/_core_wrap.cpp:41131:27: warning: ‘virtual void wxWindowBase::MakeModal(bool)’ is deprecated (declared at /home/jay/Downloads/wxPython-src-3.0.2.0/include/wx/window.h:688) [-Wdeprecated-declarations]
- (arg1)->MakeModal(arg2);
- ^
- src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_Window_SetHelpTextForId(PyObject*, PyObject*, PyObject*)’:
- src/gtk/_core_wrap.cpp:46087:53: warning: ‘void wxWindowBase::SetHelpTextForId(const wxString&)’ is deprecated (declared at /home/jay/Downloads/wxPython-src-3.0.2.0/include/wx/window.h:1294) [-Wdeprecated-declarations]
- (arg1)->SetHelpTextForId((wxString const &)*arg2);
- ^
- src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_Validator_SetBellOnError(PyObject*, PyObject*, PyObject*)’:
- src/gtk/_core_wrap.cpp:47520:37: warning: ‘static void wxValidator::SetBellOnError(bool)’ is deprecated (declared at /home/jay/Downloads/wxPython-src-3.0.2.0/include/wx/validate.h:81) [-Wdeprecated-declarations]
- wxValidator::SetBellOnError(arg1);
- ^
- src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_SizerFlags_Proportion(PyObject*, PyObject*, PyObject*)’:
- src/gtk/_core_wrap.cpp:59166:17: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
- wxSizerFlags *result = 0 ;
- ^
- src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_SizerFlags_Align(PyObject*, PyObject*, PyObject*)’:
- src/gtk/_core_wrap.cpp:59210:17: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
- wxSizerFlags *result = 0 ;
- ^
- src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_SizerFlags_Expand(PyObject*, PyObject*)’:
- src/gtk/_core_wrap.cpp:59253:17: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
- wxSizerFlags *result = 0 ;
- ^
- src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_SizerFlags_Centre(PyObject*, PyObject*)’:
- src/gtk/_core_wrap.cpp:59286:17: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
- wxSizerFlags *result = 0 ;
- ^
- src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_SizerFlags_Center(PyObject*, PyObject*)’:
- src/gtk/_core_wrap.cpp:59319:17: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
- wxSizerFlags *result = 0 ;
- ^
- src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_SizerFlags_Left(PyObject*, PyObject*)’:
- src/gtk/_core_wrap.cpp:59352:17: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
- wxSizerFlags *result = 0 ;
- ^
- src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_SizerFlags_Right(PyObject*, PyObject*)’:
- src/gtk/_core_wrap.cpp:59385:17: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
- wxSizerFlags *result = 0 ;
- ^
- src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_SizerFlags_Top(PyObject*, PyObject*)’:
- src/gtk/_core_wrap.cpp:59418:17: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
- wxSizerFlags *result = 0 ;
- ^
- src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_SizerFlags_Bottom(PyObject*, PyObject*)’:
- src/gtk/_core_wrap.cpp:59451:17: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
- wxSizerFlags *result = 0 ;
- ^
- src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_SizerFlags_Shaped(PyObject*, PyObject*)’:
- src/gtk/_core_wrap.cpp:59484:17: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
- wxSizerFlags *result = 0 ;
- ^
- src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_SizerFlags_FixedMinSize(PyObject*, PyObject*)’:
- src/gtk/_core_wrap.cpp:59517:17: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
- wxSizerFlags *result = 0 ;
- ^
- src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_SizerFlags_ReserveSpaceEvenIfHidden(PyObject*, PyObject*)’:
- src/gtk/_core_wrap.cpp:59550:17: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
- wxSizerFlags *result = 0 ;
- ^
- src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_SizerFlags_Border(PyObject*, PyObject*, PyObject*)’:
- src/gtk/_core_wrap.cpp:59585:17: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
- wxSizerFlags *result = 0 ;
- ^
- src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_SizerFlags_DoubleBorder(PyObject*, PyObject*, PyObject*)’:
- src/gtk/_core_wrap.cpp:59641:17: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
- wxSizerFlags *result = 0 ;
- ^
- src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_SizerFlags_TripleBorder(PyObject*, PyObject*, PyObject*)’:
- src/gtk/_core_wrap.cpp:59687:17: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
- wxSizerFlags *result = 0 ;
- ^
- src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_SizerFlags_HorzBorder(PyObject*, PyObject*)’:
- src/gtk/_core_wrap.cpp:59732:17: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
- wxSizerFlags *result = 0 ;
- ^
- src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_SizerFlags_DoubleHorzBorder(PyObject*, PyObject*)’:
- src/gtk/_core_wrap.cpp:59765:17: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
- wxSizerFlags *result = 0 ;
- ^
- src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_SizerItem_SetWindow(PyObject*, PyObject*, PyObject*)’:
- src/gtk/_core_wrap.cpp:61364:27: warning: ‘void wxSizerItem::SetWindow(wxWindow*)’ is deprecated (declared at /home/jay/Downloads/wxPython-src-3.0.2.0/include/wx/sizer.h:1114) [-Wdeprecated-declarations]
- (arg1)->SetWindow(arg2);
- ^
- src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_SizerItem_SetSizer(PyObject*, PyObject*, PyObject*)’:
- src/gtk/_core_wrap.cpp:61400:26: warning: ‘void wxSizerItem::SetSizer(wxSizer*)’ is deprecated (declared at /home/jay/Downloads/wxPython-src-3.0.2.0/include/wx/sizer.h:1119) [-Wdeprecated-declarations]
- (arg1)->SetSizer(arg2);
- ^
- src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_SizerItem_SetSpacer(PyObject*, PyObject*, PyObject*)’:
- src/gtk/_core_wrap.cpp:61436:44: warning: ‘void wxSizerItem::SetSpacer(const wxSize&)’ is deprecated (declared at /home/jay/Downloads/wxPython-src-3.0.2.0/include/wx/sizer.h:1124) [-Wdeprecated-declarations]
- (arg1)->SetSpacer((wxSize const &)*arg2);
- ^
- src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_Sizer_SetVirtualSizeHints(PyObject*, PyObject*, PyObject*)’:
- src/gtk/_core_wrap.cpp:63369:37: warning: ‘void wxSizer::SetVirtualSizeHints(wxWindow*)’ is deprecated (declared at /home/jay/Downloads/wxPython-src-3.0.2.0/include/wx/sizer.h:666) [-Wdeprecated-declarations]
- (arg1)->SetVirtualSizeHints(arg2);
- ^
- src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_new_ImageFromDataWithAlpha(PyObject*, PyObject*, PyObject*)’:
- src/gtk/_core_wrap.cpp:3670:56: warning: ‘arg6’ may be used uninitialized in this function [-Wmaybe-uninitialized]
- buffer acopy = (buffer)malloc(ALPHASIZE);
- ^
- src/gtk/_core_wrap.cpp:17631:7: note: ‘arg6’ was declared here
- int arg6 ;
- ^
- src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_Image_SetAlphaData(PyObject*, PyObject*, PyObject*)’:
- src/gtk/_core_wrap.cpp:3730:52: warning: ‘arg3’ may be used uninitialized in this function [-Wmaybe-uninitialized]
- buffer acopy = (buffer)malloc(ALPHASIZE);
- ^
- src/gtk/_core_wrap.cpp:20407:7: note: ‘arg3’ was declared here
- int arg3 ;
- ^
- src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_Image_SetAlphaBuffer(PyObject*, PyObject*, PyObject*)’:
- src/gtk/_core_wrap.cpp:3747:13: warning: ‘arg3’ may be used uninitialized in this function [-Wmaybe-uninitialized]
- if (ALPHASIZE != self->GetWidth() * self->GetHeight()) {
- ^
- src/gtk/_core_wrap.cpp:20474:7: note: ‘arg3’ was declared here
- int arg3 ;
- ^
- cc1plus: some warnings being treated as errors
- error: command 'gcc' failed with exit status 1
- ERROR: failed building wxPython.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement