All pastes #837367 Raw Edit

Anonymous

public text v1 · immutable
#837367 ·published 2007-12-29 16:19 UTC
rendered paste body
replaced occurrences in these files:

src # grep "IsOk" *
chatpanel.cpp:bool ChatPanel::IsOk()
chatpanel.h:    bool IsOk();
tasserver.cpp:  if(udp_socket.IsOk()){
tasserver.cpp:    wxLogMessage(_T("socket's IsOk() is false, no UDP ping done."));
utils.h:#define IsColourOk() IsOk()


result:

i686-pc-linux-gnu-g++ -Wall -Wno-strict-aliasing -march=athlon-xp -O2 -pipe -fno-ident -fomit-frame-pointer -mfpmath=sse -ffast-math -fvisibility-inlines-hidden  -Wl,-O1,--as-needed -o springsettings revision.o base64.o utils.o stacktrace.o md5.o springunitsynclib.o se_utils.o frame.o tab_ui.o tab_render_detail.o tab_debug.o se_settings.o tab_audio.o presets.o tab_abstract.o Main.o tab_simple.o tab_quality_video.o panel_pathoption.o custom_dialogs.o helpmenufunctions.o -pthread -Wl,-O1,--as-needed  -lwx_gtk2u_richtext-2.8 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-2.8 -lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8  
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libwx_gtk2u_adv-2.8.so: undefined reference to `wxColour::IsOk() const'
collect2: ld returned 1 exit status
make[1]: *** [springsettings] Error 1
make[1]: *** Waiting for unfinished jobs....
src/tasserver.cpp: In member function 'virtual void TASServer::ModeratorMute(const std::string&, const std::string&, int, bool)':
src/tasserver.cpp:941: warning: cannot pass objects of non-POD type 'const class wxCharBuffer' through '...'; call will abort at runtime
src/tasserver.cpp:941: warning: cannot pass objects of non-POD type 'const class wxCharBuffer' through '...'; call will abort at runtime
mv -f .deps/tasserver.Tpo .deps/tasserver.Po
make[1]: Leaving directory `/var/tmp/portage/games-util/springlobby-svn-0.0.20070722/work/springlobby-svn-0.0.20070722'
make: *** [all] Error 2