trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2012

kdiff3 build failure - error: constructor KDiff3Plugin:: - 'addAction' was not declared in this scope

From: "David C. Rankin" <drankinatty@...>
Date: Thu, 29 Mar 2012 01:14:06 -0500
Darrell, All

  kdiff3 (another indispensable package) is suffering a build failure when it
attempts to compile it's first source. I have tried adjusting what I know to
adjust, but the failure persists and looks like a possible TQT issue with this
package. The error is:

 /bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..
-I/opt/trinity/include -I/opt/tqt3/include -I. -include tqt.h
-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  -MT
kdiff3plugin.lo -MD -MP -MF .deps/kdiff3plugin.Tpo -c -o kdiff3plugin.lo
kdiff3plugin.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/trinity/include
-I/opt/tqt3/include -I. -include tqt.h -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 -MT kdiff3plugin.lo -MD -MP -MF
.deps/kdiff3plugin.Tpo -c kdiff3plugin.cpp  -fPIC -DPIC -o .libs/kdiff3plugin.o
In file included from /opt/trinity/include/kfileitem.h:31:0,
                 from /opt/trinity/include/konq_popupmenu.h:32,
                 from kdiff3plugin.h:24,
                 from kdiff3plugin.cpp:21:
/opt/trinity/include/kfilemetainfo.h:1237:34: warning: type qualifiers ignored
on function return type [-Wignored-qualifiers]
kdiff3plugin.cpp: In constructor 'KDiff3Plugin::KDiff3Plugin(KonqPopupMenu*,
const char*, const TQStringList&)':
kdiff3plugin.cpp:153:27: error: 'addAction' was not declared in this scope
make[2]: *** [kdiff3plugin.lo] Error 1
make[2]: Leaving directory `/build/src/kdiff3/kdiff3plugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/src/kdiff3'
make: *** [all] Error 2

  What say the experts, is it something I'm doing(not doing) or is it a bug in
the code?

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