[opensuse-packaging] boinc: error in wxNotebook
Hello Mates, does anyone know, how to fix this: common/wxFlatNotebook.cpp:610: error: within this context common/wxFlatNotebook.cpp: In member function 'virtual int wxPageContainerBase::HitTest(const wxPoint&, wxPageInfo&, int&)': common/wxFlatNotebook.cpp:1354: warning: 'bool wxRect::Inside(const wxPoint&) const' is deprecated (declared at /usr/include/wx-2.8/wx/gdicmn.h:491) common/wxFlatNotebook.cpp:1360: warning: 'bool wxRect::Inside(const wxPoint&) const' is deprecated (declared at /usr/include/wx-2.8/wx/gdicmn.h:491) common/wxFlatNotebook.cpp:1365: warning: 'bool wxRect::Inside(const wxPoint&) const' is deprecated (declared at /usr/include/wx-2.8/wx/gdicmn.h:491) common/wxFlatNotebook.cpp:1380: warning: 'bool wxRect::Inside(const wxPoint&) const' is deprecated (declared at /usr/include/wx-2.8/wx/gdicmn.h:491) common/wxFlatNotebook.cpp:1390: warning: 'bool wxRect::Inside(const wxPoint&) const' is deprecated (declared at /usr/include/wx-2.8/wx/gdicmn.h:491) common/wxFlatNotebook.cpp: In member function 'virtual void wxPageContainerBase::OnMouseLeave(wxMouseEvent&)': common/wxFlatNotebook.cpp:1921: warning: 'void wxDCBase::BeginDrawing()' is deprecated (declared at /usr/include/wx-2.8/wx/dc.h:392) common/wxFlatNotebook.cpp:1927: warning: 'void wxDCBase::EndDrawing()' is deprecated (declared at /usr/include/wx-2.8/wx/dc.h:393) make[2]: *** [boinc_gui-wxFlatNotebook.o] Error 1 make[2]: Leaving directory `/usr/src/packages/BUILD/boinc_core_release_6_4_5/clientgui' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/packages/BUILD/boinc_core_release_6_4_5' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.59513 (%build) -- Sincereley yours Sascha Manns openSUSE Marketing Team openSUSE Build Service openSUSE Features Screening Team Web: http://saschamanns.gulli.to Project-Blog: http://lizards.opensuse.org/author/saigkill Private-Blog: http://saschasbacktrace.blogspot.com
On Mon, 18 May 2009 18:45:40 +0200, you wrote:
common/wxFlatNotebook.cpp:610: error: within this context
We'd need to see the lines *before* this one as this is the error. The other messages are only deprecation warnings. Philipp -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Mon, 18 May 2009 18:45:40 +0200, you wrote:
common/wxFlatNotebook.cpp:610: error: within this context
We'd need to see the lines *before* this one as this is the error. The other messages are only deprecation warnings. Before the i find: mv -f .deps/boinc_gui-wxPieCtrl.Tpo .deps/boinc_gui-wxPieCtrl.Po g++ -DHAVE_CONFIG_H -I. -I.. -I../lib -I../api -I../db -I../client - I../tools -I../sched -I../lib/mac -I/usr/lib/wx/include/gtk2-unicode- release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -I/usr/lib/wx/include/gtk2-unicode-release-2.8 - I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -
Am Dienstag 19 Mai 2009 08:18:44 wrote Philipp Thomas: pthread -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall - D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous- unwind-tables -fno-strict-aliasing -I/usr/include -I/usr/include/openssl -MT boinc_gui-wxFlatNotebook.o -MD -MP -MF .deps/boinc_gui- wxFlatNotebook.Tpo -c -o boinc_gui-wxFlatNotebook.o `test -f 'common/wxFlatNotebook.cpp' || echo './'`common/wxFlatNotebook.cpp In file included from common/wxFlatNotebook.cpp:19: ./common/wxFlatNotebookImages.h:57: warning: deprecated conversion from string constant to 'char*' [... the same...] /usr/include/wx-2.8/wx/window.h:1424: error: 'const wxEventTable wxWindowBase::sm_eventTable' is protected -- Sincereley yours Sascha Manns openSUSE Marketing Team openSUSE Build Service openSUSE Features Screening Team Web: http://saschamanns.gulli.to Project-Blog: http://lizards.opensuse.org/author/saigkill Private-Blog: http://saschasbacktrace.blogspot.com
Ok, so to combine the message lines
/usr/include/wx-2.8/wx/window.h:1424: error: 'const wxEventTable wxWindowBase::sm_eventTable' is protected common/wxFlatNotebook.cpp:610: error: within this context
And this shows an error in the boinc client in that it hasn't been adapted to newer wxWindows versions. So you should either ask the boinc client developers for a code update or ask the wxWindows developers how to change the code. Philipp -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (2)
-
Philipp Thomas
-
Sascha 'saigkill' Manns