kdevelop.m4.in

Izo I at siol.net
Mon Feb 23 16:13:07 UTC 2004


Alexander Dymo wrote:

>On Sunday 22 February 2004 00:59, Izo wrote:
>  
>
>>Which branch/tag does still build with the kdelibs-3.1.x and/or
>>kdelibs-3.0.x ? Is the information on the KDevelop page regarding the
>>KDE_3_2_BRANCH being buildable against kde-3.x.x true ?
>>    
>>
>http://www.kdevelop.org/index.html?filename=branches_compiling.html
>contains exact and up-to-date information about our intentions.
>
For HEAD there is written "unstable...for KDE-3.2 only" - nothing about 
always or temporary. O.K. - I will understand it as for always

>In short, KDE_3_2_BRANCH should still be buildable on any KDE >= 3.0.2 system.
>  
>
Well, it should but it is not. Behaves differently for

KDE-3.1.1/QT-3.1.1: (SuSE-8.2)

make[3]: Entering directory `/home/iztokk/c/KDevelop/gideon/lib/qextmdi'
if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ 
-DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/qextmdi/res 
-I../../lib/structure -I/opt/kde3/include -I/usr/lib/qt3/include 
-I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith 
-Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align 
-Wconversion -Wchar-subscripts -O2 -Wformat-security 
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common 
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT 
-DQT_NO_TRANSLATION  -MT kmdifocuslist.lo -MD -MP -MF 
".deps/kmdifocuslist.Tpo" \
  -c -o kmdifocuslist.lo `test -f 'kmdifocuslist.cpp' || echo 
'./'`kmdifocuslist.cpp; \
then mv ".deps/kmdifocuslist.Tpo" ".deps/kmdifocuslist.Plo"; \
else rm -f ".deps/kmdifocuslist.Tpo"; exit 1; \
fi
kmdifocuslist.cpp: In member function `void KMdiFocusList::restore()':
kmdifocuslist.cpp:52: error: `constBegin' undeclared (first use this 
function)
kmdifocuslist.cpp:52: error: (Each undeclared identifier is reported 
only once
   for each function it appears in.)
kmdifocuslist.cpp:52: error: `constEnd' undeclared (first use this function)
make[3]: *** [kmdifocuslist.lo] Error 1
make[3]: Leaving directory `/home/iztokk/c/KDevelop/gideon/lib/qextmdi'

When checking out the kmdifocuslist.cpp revision:1.3 instead of 1.3.2.1, 
the build goes OK


KDE-3.1.4/QT-3.2.1 (SuSE-9.0)

make[3]: Entering directory `/home/iztokk/c/KDevelop-3/parts/fileview'
if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ 
-DHAVE_CONFIG_H -I. -I/home/iztokk/c/KDevelop-3/parts/fileview -I../.. 
-I/home/iztokk/c/KDevelop-3/lib/interfaces 
-I/home/iztokk/c/KDevelop-3/lib/compat 
-I/home/iztokk/c/KDevelop-3/lib/sourceinfo 
-I/home/iztokk/c/KDevelop-3/lib/util -I/opt/kde3/include 
-I/usr/lib/qt3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  
-D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W 
-Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
-Wcast-align -Wconversion -Wchar-subscripts -O2 -g0 -O2 
-Wformat-security -Wmissing-format-attribute -fno-exceptions 
-fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST 
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT fileviewpart.lo -MD 
-MP -MF ".deps/fileviewpart.Tpo" \
  -c -o fileviewpart.lo `test -f 'fileviewpart.cpp' || echo 
'/home/iztokk/c/KDevelop-3/parts/fileview/'`fileviewpart.cpp; \
then mv -f ".deps/fileviewpart.Tpo" ".deps/fileviewpart.Plo"; \
else rm -f ".deps/fileviewpart.Tpo"; exit 1; \
fi
In file included from fileviewpart.h:18,
                 from fileviewpart.cpp:14:
vcscolorsconfigwidget.h:16:39: vcscolorsconfigwidgetbase.h: No such file 
or directory
In file included from fileviewpart.h:18,
                 from fileviewpart.cpp:14:
vcscolorsconfigwidget.h:38: error: parse error before `{' token
vcscolorsconfigwidget.h:39: error: virtual outside class declaration
vcscolorsconfigwidget.h:39: error: non-member function `const char* 
className()
   ' cannot have `const' method qualifier
vcscolorsconfigwidget.h:39: error: virtual outside class declaration
vcscolorsconfigwidget.h:39: error: virtual outside class declaration
vcscolorsconfigwidget.h:39: error: virtual outside class declaration
vcscolorsconfigwidget.h:39: error: virtual outside class declaration
vcscolorsconfigwidget.h: In function `QObject* qObject()':
vcscolorsconfigwidget.h:39: error: invalid use of `this' in non-member 
function
vcscolorsconfigwidget.h: At global scope:
vcscolorsconfigwidget.h:39: error: parse error before `private'
vcscolorsconfigwidget.h:44: error: destructors must be member functions
vcscolorsconfigwidget.h:44: error: virtual outside class declaration
vcscolorsconfigwidget.h:47: error: non-member function `void
   getColors(VCSColors&)' cannot have `const' method qualifier
vcscolorsconfigwidget.h:50: error: parse error before `public'
fileviewpart.cpp: In member function `void
   FileViewPart::insertConfigWidget(const KDialogBase*, QWidget*, 
unsigned int)
   ':
fileviewpart.cpp:143: error: `w' undeclared (first use this function)
fileviewpart.cpp:143: error: (Each undeclared identifier is reported 
only once
   for each function it appears in.)
fileviewpart.cpp:143: error: parse error before `(' token
fileviewpart.cpp:140: warning: unused parameter `QWidget*page'
fileviewpart.moc: At top level:
vcscolorsconfigwidget.h:39: warning: `bool qt_static_property(QObject*, int,
   int, QVariant*)' declared `static' but never defined
vcscolorsconfigwidget.h:39: warning: `QMetaObject* staticMetaObject()' 
declared
   `static' but never defined
make[3]: *** [fileviewpart.lo] Error 1
make[3]: Leaving directory `/home/iztokk/c/KDevelop-3/parts/fileview'

The creation sequence for the missing header is never invoked with the 
kde/qt-3.1.1 in comparission to the kde-3.1.4/qt-3.2.1 system:

executing in parts/fileview:

KDE-3.1.4/QT-3.2.1:

# make clean
# make
/usr/lib/qt3/bin/moc 
/home/iztokk/c/KDevelop-3/parts/fileview/fileviewpart.h -o fileviewpart.moc
if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ 
-DHAVE_CONFIG_H -I. -I/home/iztokk/c/KDevelop-3/parts/fileview -I../.. 
-I/home/iztokk/c/KDevelop-3/lib/interfaces 
-I/home/iztokk/c/KDevelop-3/lib/compat 
-I/home/iztokk/c/KDevelop-3/lib/sourceinfo 
-I/home/iztokk/c/KDevelop-3/lib/util -I/opt/kde3/include 
-I/usr/lib/qt3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  
-D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W 
-Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
-Wcast-align -Wconversion -Wchar-subscripts -O2 -g0 -O2 
-Wformat-security -Wmissing-format-attribute -fno-exceptions 
-fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST 
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT fileviewpart.lo -MD 
-MP -MF ".deps/fileviewpart.Tpo" \
  -c -o fileviewpart.lo `test -f 'fileviewpart.cpp' || echo 
'/home/iztokk/c/KDevelop-3/parts/fileview/'`fileviewpart.cpp; \


KDE/QT-3.1.1:

# make clean
# make
/usr/lib/qt3/bin/uic -L /opt/kde3/lib/kde3/plugins/designer -nounload -o 
vcscolorsconfigwidgetbase.h ./vcscolorsconfigwidgetbase.ui
/usr/lib/qt3/bin/moc ./fileviewpart.h -o fileviewpart.moc
if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ 
-DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/interfaces 
-I../../lib/compat -I../../lib/sourceinfo -I../../lib/util 
-I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include   
-DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long 
-Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion 
-Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute 
-fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE 
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT 
fileviewpart.lo -MD -MP -MF ".deps/fileviewpart.Tpo" \
  -c -o fileviewpart.lo `test -f 'fileviewpart.cpp' || echo 
'./'`fileviewpart.cpp; \

When executing the designer line by hand on the first system for the 
file in question and one another, the build for the fileview part succeeds.

Just the same behaviour is in the languages/ada.


I am just building it forth and hope for success !

Iztok










More information about the KDevelop-devel mailing list