Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Sep 2000 13:56:12 -0700 (PDT)
From:      Mark Hendriks _LON_ <markh@lon.imag.net>
To:        freebsd-questions@freebsd.org
Subject:   Compile errors in latest version of QT
Message-ID:  <00092916345900.10610@mymachine.imag.net>

next in thread | raw e-mail | index | archive | help
Hello

I just got QT version 2.2.0 from Troll Tech's web site.  After uncompressing
the file, I set the appropriate environment variables, logged out & back in,
and did:

./configure -platform freebsd-g++
make

configure ran okay.  Make ran for a while (longer than anything else I've
compiled,) occasionally produced a warning, then died.  Here is the output that
was sent to stderr:

../tools/qcollection.cpp: In method `void QCollection::deleteItem(void *)':
../tools/qcollection.cpp:180: warning: `void *' is not a pointer-to-object type
3rdparty/zlib/infblock.c: In function `inflate_blocks':
3rdparty/zlib/infblock.c:249: warning: passing arg 3 of `inflate_trees_bits' from incompatible pointer type
tools/qcollection.cpp: In method `void QCollection::deleteItem(void *)':
tools/qcollection.cpp:180: warning: `void *' is not a pointer-to-object type
/usr/local/qt/include/qintdict.h: In method `void QIntDict<void>::deleteItem(void *)':
kernel/qpsprinter.cpp:3345:   instantiated from here
/usr/local/qt/include/qintdict.h:82: warning: `void *' is not a pointer-to-object type
/usr/local/qt/include/qintdict.h: In method `void QIntDict<void>::deleteItem(void *)':
kernel/qapplication_x11.cpp:5289:   instantiated from here
/usr/local/qt/include/qintdict.h:82: warning: `void *' is not a pointer-to-object type
/usr/local/qt/include/qlist.h: In method `void QList<void>::deleteItem(void *)':
kernel/qapplication_x11.cpp:5289:   instantiated from here
/usr/local/qt/include/qlist.h:104: warning: `void *' is not a pointer-to-object type
/usr/local/qt/include/qptrdict.h: In method `void QPtrDict<void>::deleteItem(void *)':
widgets/qlistview.cpp:5615:   instantiated from here
/usr/local/qt/include/qptrdict.h:82: warning: `void *' is not a pointer-to-object type
/usr/local/qt/include/qdict.h: In method `void QDict<void>::deleteItem(void *)':
widgets/qmultilineedit.cpp:4167:   instantiated from here
/usr/local/qt/include/qdict.h:85: warning: `void *' is not a pointer-to-object type
widgets/qeffects.cpp: In method `void QRollEffect::scroll()':
widgets/qeffects.cpp:455: warning: assignment to `int' from `double'
widgets/qeffects.cpp:459: warning: assignment to `int' from `double'
In file included from widgets/qbutton.h:42,
                 from widgets/qcheckbox.h:42,
                 from widgets/moc_qcheckbox.cpp:17:
/usr/local/qt/include/qwidget.h: In method `bool QWidget::isEnabled() const':
/usr/local/qt/include/qwidget.h:641: Internal compiler error.
/usr/local/qt/include/qwidget.h:641: Please submit a full bug report.
/usr/local/qt/include/qwidget.h:641: See <URL:http://www.gnu.org/software/gcc/bugs.html>; for instructions.
cpp: output pipe has been closed

As you can see, there are warnings, but no errors.  The compiler died from an
internal error.  I though I'd check here before submitting a report to GNU.  Has
anyone else had a problem trying to install the latest version of QT?  If the
above looks like it was caused by a known error, does anyone know a way
around it?

Please cc to my email address, markh@lon.imag.net

Thanks,
Mark


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00092916345900.10610>