trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: February 2011

kdevelop - constructor problem - parts/tools/tools_part.cpp

From: "David C. Rankin" <drankinatty@...>
Date: Wed, 16 Feb 2011 17:38:49 -0600
Tim,

  I think I've found another constructor issue in
kdevelop/parts/tools/tools_part.cpp:

[ 45%] Building CXX object
parts/tools/CMakeFiles/libkdevtools-module.dir/tools_part.cpp.o
cd /home/david/tbld/kdevelop/src/parts/tools && /usr/bin/c++
-Dlibkdevtools_module_EXPORTS -DHAVE_CONFIG_H -DUSE_QT3 -DQT_NO_ASCII_CAST
-DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION
-DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe
-Wno-deprecated -include tqt.h -fPIC -I/home/david/tbld/kdevelop/src/parts/tools
-I/home/david/tbld/kdevelop/lib/interfaces
-I/home/david/tbld/kdevelop/lib/interfaces/extensions
-I/home/david/tbld/kdevelop/lib/util -I/home/david/tbld/kdevelop/parts/tools
-I/opt/trinity/include -I/opt/qt/include -I/opt/qt/include/tqt   -o
CMakeFiles/libkdevtools-module.dir/tools_part.cpp.o -c
/home/david/tbld/kdevelop/parts/tools/tools_part.cpp
/home/david/tbld/kdevelop/parts/tools/tools_part.cpp: In member function ‘void
ToolsPart::startCommand(QString, bool, QString)’:
/home/david/tbld/kdevelop/parts/tools/tools_part.cpp:157:61: error: cannot call
constructor ‘QString::QString’ directly
/home/david/tbld/kdevelop/parts/tools/tools_part.cpp:157:61: error:   for a
function-style cast, remove the redundant ‘::QString’
make[2]: *** [parts/tools/CMakeFiles/libkdevtools-module.dir/tools_part.cpp.o]
Error 1
make[2]: Leaving directory `/home/david/tbld/kdevelop/src'
make[1]: *** [parts/tools/CMakeFiles/libkdevtools-module.dir/all] Error 2
make[1]: Leaving directory `/home/david/tbld/kdevelop/src'
make: *** [all] Error 2

  Let me know if you need anything else.

-- 
David C. Rankin, J.D.,P.E.