trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: January 2014

tdebase FTBFS - In 'void Lockout::slotButtonOrder()' error: 'KConfig' not in scope

From: "David C. Rankin" <drankinatty@...>
Date: Mon, 20 Jan 2014 01:07:26 -0600
All,

  After getting through the CMake issues with tdebase and cmake 2.8.12.1, I have
run into another scope error. The error is with gcc 4.8.2:

[ 57%] Building CXX object
kicker/applets/lockout/CMakeFiles/lockout_panelapplet-module.dir/lockout.cpp.o
/build/tde-tdebase/src/tdebase/kicker/applets/lockout/lockout.cpp: In member
function 'void Lockout::slotButtonOrder()':
/build/tde-tdebase/src/tdebase/kicker/applets/lockout/lockout.cpp:297:4: error:
'KConfig' was not declared in this scope
    KConfig* conf = config();
    ^
/build/tde-tdebase/src/tdebase/kicker/applets/lockout/lockout.cpp:297:13: error:
'conf' was not declared in this scope
    KConfig* conf = config();
             ^
kicker/applets/lockout/CMakeFiles/lockout_panelapplet-module.dir/build.make:63:
recipe for target
'kicker/applets/lockout/CMakeFiles/lockout_panelapplet-module.dir/lockout.cpp.o'
failed

  I recall a number of these from prior builds. However, this time I decided to
build without -DCMAKE_CXX_FLAGS="-fpermissive". There appear to be several more
of these scope issues in the code. I can't recall how we were fixing these, but
I recall most being simple. I'll look back through the list and bugzilla. If you
know off-hand how to correct this -- let me know.

  Also, do we want to open bug reports on the scope failures if we cannot
correct them with a patch here on the list? (do we want to file ALL of these so
they are being actively tracked?

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