Bug 51872 - qtjava fails to compile in kdebindings on Solaris - sql fails to compile
Summary: qtjava fails to compile in kdebindings on Solaris - sql fails to compile
Status: RESOLVED INTENTIONAL
Alias: None
Product: bindings
Classification: Developer tools
Component: general (show other bugs)
Version: 3.0.7
Platform: Compiled Sources Solaris
: NOR normal
Target Milestone: ---
Assignee: Wynn Wilkes
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-13 21:41 UTC by Aaron Williams
Modified: 2008-08-01 13:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Williams 2002-12-13 21:41:24 UTC
Version:            (using KDE KDE 3.0.99)
Installed from:    Compiled From Sources
Compiler:          gcc 2.95.3 Sparc Sun Solaris 2.7
OS:          Solaris

Both qtc and qtjava fail to compile in Solaris.  I get similar bugs for both.

qtjava:

/bin/ksh ../../../libtool --silent --mode=compile --tag=CXX /tools/kde/gnu/bin/g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I./.. -I/tools/kde/java/j2sdk1.4.1/include -I/tools/kde/java/j2sdk1.4.1/include/solaris -I/tools/kde/3.1/include -I/tools/qt/qt-3.1/include   -I/tools/qt/share/include  -DQT_THREAD_SUPPORT  -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -g -I/tools/qt/share/include -L/tools/qt/share/lib -fno-exceptions -fno-check-new  -c -o QtSupport.lo `test -f 'QtSupport.cpp' || echo './'`QtSupport.cpp
In file included from QtSupport.cpp:26:
../qtjava/JavaSlot.h:106: `QSql' was not declared in this scope
../qtjava/JavaSlot.h:106: parse error before `::'
../qtjava/JavaSlot.h:107: `QSqlCursor' was not declared in this scope
../qtjava/JavaSlot.h:107: parse error before `::'
../qtjava/JavaSlot.h:107: `JavaSlot::invoke(...)' has already been declared in `JavaSlot'
../qtjava/JavaSlot.h:108: `QSqlRecord' was not declared in this scope
../qtjava/JavaSlot.h:108: `arg1' was not declared in this scope
../qtjava/JavaSlot.h:108: variable or field `invoke' declared void
../qtjava/JavaSlot.h:108: declaration of `int JavaSlot::invoke'
../qtjava/JavaSlot.h:106: conflicts with previous declaration `void JavaSlot::invoke(...)'
../qtjava/JavaSlot.h:120: parse error before `*'
../qtjava/JavaSlot.h:120: `JavaSlot::invoke(...)' has already been declared in `JavaSlot'
QtSupport.cpp: In function `static char * QtSupport::eventTypeToEventClassName(QEvent::Type)':
QtSupport.cpp:73: warning: deprecated conversion from string constant to `char *'
QtSupport.cpp:75: warning: deprecated conversion from string constant to `char *'
QtSupport.cpp:77: warning: deprecated conversion from string constant to `char *'
QtSupport.cpp:79: warning: deprecated conversion from string constant to `char *'
QtSupport.cpp:81: warning: deprecated conversion from string constant to `char *'
QtSupport.cpp:83: warning: deprecated conversion from string constant to `char *'
QtSupport.cpp:85: warning: deprecated conversion from string constant to `char *'
QtSupport.cpp:87: warning: deprecated conversion from string constant to `char *'
QtSupport.cpp:89: warning: deprecated conversion from string constant to `char *'
QtSupport.cpp:92: warning: deprecated conversion from string constant to `char *'
QtSupport.cpp:94: warning: deprecated conversion from string constant to `char *'
QtSupport.cpp:97: warning: deprecated conversion from string constant to `char *'
QtSupport.cpp:101: warning: deprecated conversion from string constant to `char *'
QtSupport.cpp:106: warning: deprecated conversion from string constant to `char *'
QtSupport.cpp:108: warning: deprecated conversion from string constant to `char *'
QtSupport.cpp:110: warning: deprecated conversion from string constant to `char *'
QtSupport.cpp:112: warning: deprecated conversion from string constant to `char *'
QtSupport.cpp:114: warning: deprecated conversion from string constant to `char *'
QtSupport.cpp:118: warning: deprecated conversion from string constant to `char *'
QtSupport.cpp:120: warning: deprecated conversion from string constant to `char *'
QtSupport.cpp:122: warning: deprecated conversion from string constant to `char *'
QtSupport.cpp: In function `static bool QtSupport::eventFilterDelegate(QObject *, const char *, QObject *, QEvent *)':
QtSupport.cpp:128: warning: unused parameter `const char * objectType'
QtSupport.cpp: In function `static void QtSupport::fromQStringToStringBuffer(JNIEnv *, QString *, _jobject *)':
QtSupport.cpp:1040: warning: unused variable `class _jobject * stringBuffer'
QtSupport.cpp: In function `static void QtSupport::fromQCStringToStringBuffer(JNIEnv *, QCString *, _jobject *)':
QtSupport.cpp:1099: warning: unused variable `class _jobject * stringBuffer'
QtSupport.cpp: In function `static jchar QtSupport::fromQChar(JNIEnv *, QChar *)':
QtSupport.cpp:1129: warning: unused parameter `struct JNIEnv * env'
QtSupport.cpp: In function `static class QChar * QtSupport::toQChar(JNIEnv *, short unsigned int, QChar **)':
QtSupport.cpp:1135: warning: unused parameter `struct JNIEnv * env'
QtSupport.cpp: In function `static class QStrList * QtSupport::toQStrList(JNIEnv *, _jobjectArray *, QStrList **)':
QtSupport.cpp:1304: warning: unused variable `const jchar * jchar'
QtSupport.cpp: In function `static class QStringList * QtSupport::toQStringList(JNIEnv *, _jobjectArray *, QStringList **)':
QtSupport.cpp:1334: warning: unused variable `const jchar * jchar'
QtSupport.cpp: In function `static class _jobject * QtSupport::arrayWithQCanvasItemList(JNIEnv *, QCanvasItemList *, _jobject * = 0)':
QtSupport.cpp:1579: warning: deprecated conversion from string constant to `char *'
QtSupport.cpp:1582: warning: deprecated conversion from string constant to `char *'
QtSupport.cpp:1585: warning: deprecated conversion from string constant to `char *'
QtSupport.cpp:1588: warning: deprecated conversion from string constant to `char *'
QtSupport.cpp:1591: warning: deprecated conversion from string constant to `char *'
QtSupport.cpp:1594: warning: deprecated conversion from string constant to `char *'
QtSupport.cpp:1597: warning: deprecated conversion from string constant to `char *'
QtSupport.cpp:1600: warning: deprecated conversion from string constant to `char *'
QtSupport.cpp:1603: warning: deprecated conversion from string constant to `char *'
QtSupport.cpp:1606: warning: deprecated conversion from string constant to `char *'
make[2]: *** [QtSupport.lo] Error 1
make[2]: Leaving directory `/net/max/export/max1/tools/kde_3.1/archive/3.1/kdebindings-3.1rc5/qtjava/javalib/qtjava'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/net/max/export/max1/tools/kde_3.1/archive/3.1/kdebindings-3.1rc5/qtjava/javalib'
make: *** [all-recursive] Error 1



qtc:
make[2]: Entering directory `/net/max/export/max1/tools/kde_3.1/archive/3.1/kdebindings-3.1rc5/qtc/clib/qtc'
source='qt_QSqlResult.cpp' object='qt_QSqlResult.lo' libtool=yes \
depfile='.deps/qt_QSqlResult.Plo' tmpdepfile='.deps/qt_QSqlResult.TPlo' \
depmode=gcc /bin/ksh ../../../admin/depcomp \
/bin/ksh ../../../libtool --silent --mode=compile --tag=CXX /tools/kde/gnu/bin/g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I./.. -I/tools/kde/3.1/include -I/tools/qt/qt-3.1/include   -I/tools/qt/share/include  -DQT_THREAD_SUPPORT  -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -g -I/tools/qt/share/include -L/tools/qt/share/lib -fno-exceptions -fno-check-new  -c -o qt_QSqlResult.lo `test -f 'qt_QSqlResult.cpp' || echo './'`qt_QSqlResult.cpp
qt_QSqlResult.cpp: In function `void qt_del_QSqlResult(qt_QSqlResult *)':
qt_QSqlResult.cpp:26: `QSqlResult' undeclared (first use this function)
qt_QSqlResult.cpp:26: (Each undeclared identifier is reported only once
qt_QSqlResult.cpp:26: for each function it appears in.)
qt_QSqlResult.cpp:26: parse error before `)'
qt_QSqlResult.cpp:25: warning: unused parameter `struct qt_QSqlResult * p'
make[2]: *** [qt_QSqlResult.lo] Error 1
make[2]: Leaving directory `/net/max/export/max1/tools/kde_3.1/archive/3.1/kdebindings-3.1rc5/qtc/clib/qtc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/net/max/export/max1/tools/kde_3.1/archive/3.1/kdebindings-3.1rc5/qtc/clib'
make: *** [all-recursive] Error 1
Comment 1 Aaron Williams 2003-01-11 05:25:23 UTC
This is still broken in rc6. 
Comment 2 Koos Vriezen 2004-08-11 14:35:39 UTC
kde-bindings issue..
Comment 3 George Goldberg 2007-12-19 04:00:09 UTC
Is this bug still there in a recent version of KDE, such as 3.5.8 or KDE4.0 RC2?
Comment 4 A. Spehr 2008-08-01 13:32:02 UTC
No response, closing. Please reopen if this is still a problem.

btw, qtjava will be picked up as qtjambi by the kde4 team

Thanks for the report!