Problems compiling kdevelop
Andreas Pakulat
ap125 at informatik.uni-rostock.de
Thu Jul 24 11:20:38 BST 2003
Hi,
I have kdevelop3.0a4a here and wanted to create a debian package from
it, using dpkg-buildpackage -us -uc -rfakeroot, but it stops at
java-support:
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++
-DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/antlr -I../../lib/interfaces
-I../../lib/sourceinfo -I/usr/include/kde -I/usr/include/qt3
-I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W
-Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
-Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -Wformat-security
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common
-fexceptions -c -o javasupportpart.lo `test -f 'javasupportpart.cpp' ||
echo './'`javasupportpart.cpp
In file included from /usr/include/c++/3.3/backward/strstream:51,
from javasupportpart.cpp:16:
/usr/include/c++/3.3/backward/backward_warning.h:32:2:
warning: #warning This file includes at least one
deprecated or antiquated header. Please consider using
one of the 32 headers found in section 17.4.1.2 of the
C++ standard. Examples include substituting the <X>
header for the <X.h> header for C++ includes, or
<sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
In file included from java.g:4,
from javasupportpart.cpp:28:
JavaAST.hpp: In member function `void
JavaAST::addChild(antlr::ASTRefCount<JavaAST>)':
JavaAST.hpp:36: error: invalid static_cast from type `RefJavaAST' to type `
antlr::RefAST'
JavaAST.hpp: In static member function `static antlr::RefAST JavaAST::factory()
':
JavaAST.hpp:40: error: invalid static_cast from type `RefJavaAST' to type `
antlr::RefAST'
javasupportpart.cpp: In member function `void
JavaSupportPart::parseContents(const QString&, const QString&)':
I also had that with an older Version, bu in the ada-support part. How
can I solve this error? I already looked at the antlr headers, but did
not get a clue from them.
Andreas
-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop
mailing list