From owner-freebsd-questions Fri Sep 29 13:51:48 2000 Delivered-To: freebsd-questions@freebsd.org Received: from superman.imag.net (superman.imag.net [207.200.148.6]) by hub.freebsd.org (Postfix) with ESMTP id AAFCA37B502 for ; Fri, 29 Sep 2000 13:51:45 -0700 (PDT) Received: from mymachine.imag.net (lon-p101.wwdc.com [207.200.138.102]) by superman.imag.net (8.10.2/8.10.2) with SMTP id e8TKuCl28642 for ; Fri, 29 Sep 2000 13:56:12 -0700 (PDT) Date: Fri, 29 Sep 2000 13:56:12 -0700 (PDT) From: Mark Hendriks _LON_ Content-Type: text/plain MIME-Version: 1.0 Message-Id: <00092916345900.10610@mymachine.imag.net> Content-Transfer-Encoding: 8bit To: freebsd-questions@freebsd.org Subject: Compile errors in latest version of QT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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::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::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::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::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::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 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