On 05/04/2012 02:04 PM, David C. Rankin wrote:
On 05/04/2012 01:42 PM, Timothy Pearson wrote:
That is valuable information! This is also not an issue of ignoring build warnings, as there are none which relate to the failing code.
If you can, please try the attached patch. It will probably do nothing, but there is half a chance that gcc 4.7 did not inline the functions where gcc 4.6 did, *potentially* causing a crash due to misuse of parameters passed by reference.
Tim
I figured part of that was sour grapes from the OP, but I thought I would pass it along in case there was a 'nugget' in there - couldn't tell either way.
I'm on the patch/rebuild and will report back :)
Err.. Umm.. Tim,
Want to take another crack at it??? FTBFS:
[ 79%] Building CXX object kate/part/CMakeFiles/kate-static.dir/katerenderer.cpp.o cd /build/src/build/kate/part && /usr/bin/c++ -DHAVE_CONFIG_H -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -g -I/opt/tqt3/include -I/usr/include/tqt -I/build/src/build/kate/part -I/build/src/build -I/build/src/build/kjs -I/build/src/tdelibs/kate/part -I/build/src/build/tdecore -I/build/src/tdelibs -I/build/src/tdelibs/dcop -I/build/src/tdelibs/tdefx -I/build/src/tdelibs/tdecore -I/build/src/tdelibs/tdeui -I/build/src/tdelibs/kio -I/build/src/tdelibs/kio/kio -I/build/src/tdelibs/kio/kfile -I/build/src/tdelibs/kjs -I/build/src/tdelibs/kutils -I/build/src/tdelibs/tdeprint -I/build/src/tdelibs/interfaces -I/build/src/tdelibs/interfaces/kregexpeditor -fPIC -o CMakeFiles/kate-static.dir/katerenderer.cpp.o -c /build/src/tdelibs/kate/part/katerenderer.cpp /build/src/tdelibs/kate/part/katerenderer.cpp: In member function 'void KateRenderer::paintTextLine(TQPainter&, const KateLineRange*, int, int, const KateTextCursor*, const KateBracketRange*)': /build/src/tdelibs/kate/part/katerenderer.cpp:344:51: error: taking address of temporary [-fpermissive] /build/src/tdelibs/kate/part/katerenderer.cpp:459:56: error: taking address of temporary [-fpermissive] /build/src/tdelibs/kate/part/katerenderer.cpp:459:80: error: taking address of temporary [-fpermissive] /build/src/tdelibs/kate/part/katerenderer.cpp:663:43: error: taking address of temporary [-fpermissive] /build/src/tdelibs/kate/part/katerenderer.cpp:712:39: error: taking address of temporary [-fpermissive] make[2]: *** [kate/part/CMakeFiles/kate-static.dir/katerenderer.cpp.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [kate/part/CMakeFiles/kate-static.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2