[Kst] [Bug 165779] New: kst 1.6/1.7 does not build due to "'KstWaitCondition' does not name a type"

Funda Wang fundawang at gmail.com
Sat Jul 5 10:59:49 CEST 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=165779         
           Summary: kst 1.6/1.7 does not build due to "'KstWaitCondition'
                    does not name a type"
           Product: kst
           Version: 1.7.0
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kst kde org
        ReportedBy: fundawang gmail com


Version:           1.7.0 (using KDE 3.5.9)
Installed from:    Compiled From Sources
Compiler:          gcc 4.3.1 
OS:                Linux

When building kst 1.6/1.7 in Mandriva cooker (AKA 2009), it fails at:

/bin/sh ../../../libtool --silent --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../kst/src/libkst -I../../../kst/src/extdate -I../../../kst/src/libkst -I../libkst -I../../../kst/src/libkstmath -I../../..  -I/opt/kde3/include -I/usr/lib/qt3//include -I/usr/include  -I/usr/include/cfitsio -I/usr/include/netcdf-3  -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 -O2 -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT libkstwidgets_la.all_cpp.lo -MD -MP -MF .deps/libkstwidgets_la.all_cpp.Tpo -c -o libkstwidgets_la.all_cpp.lo libkstwidgets_la.all_cpp.cpp
In file included from ../../../kst/src/libkst/kstdatacollection.h:24,
                 from matrixselector.h:15,
                 from kstwidgets.cpp:23:
../../../kst/src/libkst/kstvector.h:143: warning: type qualifiers ignored on function return type
In file included from /usr/lib/qt3//include/qdragobject.h:50,
                 from draggablelistbox.h:22,
                 from plotlistbox.h:21,
                 from kstwidgets.cpp:24:
/usr/lib/qt3//include/qimage.h: In member function 'bool QImageTextKeyLang::operator<(const QImageTextKeyLang&) const':
/usr/lib/qt3//include/qimage.h:61: warning: suggest parentheses around && within ||
/usr/lib/qt3//include/qptrlist.h: In member function 'void QPtrList<type>::deleteItem(void*) [with type = KConfigBackEnd]':
kstwidgets.cpp:148:   instantiated from here
/usr/lib/qt3//include/qptrlist.h:153: warning: possible problem detected in invocation of delete operator:
/usr/lib/qt3//include/qptrlist.h:153: warning: invalid use of incomplete type 'struct KConfigBackEnd'
/opt/kde3/include/kconfigbase.h:38: warning: forward declaration of 'struct KConfigBackEnd'
/usr/lib/qt3//include/qptrlist.h:153: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
mv -f .deps/kstwidgets.Tpo .deps/kstwidgets.Plo
In file included from /usr/lib/qt3//include/qdragobject.h:50,
                 from draggablelistbox.h:22,
                 from draggablelistbox.cpp:19,
                 from libkstwidgets_la.all_cpp.cpp:4:
/usr/lib/qt3//include/qimage.h: In member function 'bool QImageTextKeyLang::operator<(const QImageTextKeyLang&) const':
/usr/lib/qt3//include/qimage.h:61: warning: suggest parentheses around && within ||
In file included from ../../../kst/src/libkst/kstobject.h:32,
                 from ../../../kst/src/libkst/kstdatasource.h:32,
                 from ../../../kst/src/libkst/kstdatacollection.h:22,
                 from scalarselector.h:16,
                 from scalarselector.cpp:11,
                 from libkstwidgets_la.all_cpp.cpp:12:
../../../kst/src/libkst/rwlock.h: At global scope:
../../../kst/src/libkst/rwlock.h:57: error: 'KstWaitCondition' does not name a type


More information about the Kst mailing list