On 04/01/2012 11:34 PM, Darrell Anderson wrote:
I built both today without errors. Of course, I'm not using a bleeding edge environment, therefore my success is inconclusive about your errors.
Darrell
Darrell,
I am always amazed by the amount of text konsole retains in its history when set to unlimited. I had build kaffine 4 times (tweaking packaging issues and a xmms .desktop file conflict) since the initial -fpermissive failure. Even so, the original failure was just 1/2 up in the scrollback. Here is the TQString error requiring -fpermissive:
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../kaffeine/src/ -I../../../../kaffeine/src/player-parts/kaffeine-part -I/opt/trinity/include -I/opt/tqt3/include -I. -include tqt.h -I/usr/include/cdio -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -I/usr/include/tqt -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT deinterlacequality.lo -MD -MP -MF .deps/deinterlacequality.Tpo -c deinterlacequality.cpp -fPIC -DPIC -o .libs/deinterlacequality.o In file included from xine_part.h:29:0, from xine_part.cpp:21: ../../../../kaffeine/src/player-parts/kaffeine-part/kaffeinepart.h: In member function 'virtual void KaffeinePart::slotTogglePause(bool)': ../../../../kaffeine/src/player-parts/kaffeine-part/kaffeinepart.h:168:15: warning: parameter 'pauseLive' set but not used [-Wunused-but-set-parameter] In file included from kxinewidget.cpp:38:0: kxinewidget.h:182:38: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] kxinewidget.h: In constructor 'KXineWidget::KXineWidget(TQWidget*, const char*, const TQString&, const TQString&, const TQString&, const TQString&, bool, bool)': kxinewidget.h:399:17: warning: 'KXineWidget::m_xineStream' will be initialized after [-Wreorder] kxinewidget.h:387:20: warning: 'xcb_connection_t* KXineWidget::connection' [-Wreorder] kxinewidget.cpp:64:1: warning: when initialized here [-Wreorder] kxinewidget.cpp: In static member function 'static void KXineWidget::xineEventListener(void*, const xine_event_t*)': kxinewidget.cpp:507:31: warning: 'xine_mrl_reference_data_t' is deprecated (declared at /usr/include/xine.h:1985) [-Wdeprecated-declarations] kxinewidget.cpp:507:67: warning: 'xine_mrl_reference_data_t' is deprecated (declared at /usr/include/xine.h:1985) [-Wdeprecated-declarations] kxinewidget.cpp: In member function 'bool KXineWidget::getAutoplayPluginURLS(const TQString&, TQStringList&)': kxinewidget.cpp:2649:66: error: invalid conversion from 'const char* const*' to 'char**' [-fpermissive] kxinewidget.cpp: At global scope: kxinewidget.cpp:3498:49: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] mv -f .deps/deinterlacequality.Tpo .deps/deinterlacequality.Plo /bin/sh ../../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../kaffeine/src/ -I../../../../kaffeine/src/player-parts/kaffeine-part -I/opt/trinity/include -I/opt/tqt3/include -I. -include tqt.h -I/usr/include/cdio -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -I/usr/include/tqt -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT videosettings.lo -MD -MP -MF .deps/videosettings.Tpo -c -o videosettings.lo videosettings.cpp make[5]: *** [kxinewidget.lo] Error 1 make[5]: *** Waiting for unfinished jobs.... libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../kaffeine/src/ -I../../../../kaffeine/src/player-parts/kaffeine-part -I/opt/trinity/include -I/opt/tqt3/include -I. -include tqt.h -I/usr/include/cdio -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -I/usr/include/tqt -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT videosettings.lo -MD -MP -MF .deps/videosettings.Tpo -c videosettings.cpp -fPIC -DPIC -o .libs/videosettings.o In file included from xine_part.cpp:54:0: kxinewidget.h: At global scope: kxinewidget.h:182:38: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] mv -f .deps/postfilter.Tpo .deps/postfilter.Plo mv -f .deps/videosettings.Tpo .deps/videosettings.Plo mv -f .deps/xine_part.Tpo .deps/xine_part.Plo make[5]: Leaving directory `/build/src/kaffeine/kaffeine/src/player-parts/xine-part' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/build/src/kaffeine/kaffeine/src/player-parts' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/build/src/kaffeine/kaffeine/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/build/src/kaffeine/kaffeine' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/build/src/kaffeine' make: *** [all] Error 2 ==> ERROR: A failure occurred in build().
If you have a quick fix for this one -- let me know what you did so I can learn how to solve these. If not, can you point me to one of your prior patches that did this so I can take a look. I think we just did one of these within the past week where you did the patch, but I can't recall what package it was on. (age)