compile error on qt2-beta1

Jason Pincin jpincin@ashtech.net
Fri Jun 11 05:27:00 GMT 1999


cc -v returns:
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

I'm running RedHat 6.0 on a PII-233 w/ 64MB of RAM.

While compiling the QT2 beta 1, I recieved this error:
(QT Beta-1 can be gotten from ftp://ftp.troll.no/qt/source/qt-2.00beta1.tgz )


widgets/qlistview.cpp: In method `void QListView::keyPressEvent(class
QKeyEvent
> *)':
> widgets/qlistview.cpp:2921: Internal compiler error.
> widgets/qlistview.cpp:2921: Please submit a full bug report to
`egcs-bugs@egcs.cygnus.com'.
> widgets/qlistview.cpp:2921: See
<URL: http://egcs.cygnus.com/faq.html#bugreport >
> for details.
> cpp: output pipe has been closed
> make[1]: *** [widgets/qlistview.o] Error 1
> make[1]: Leaving directory


The line (line 2921 of src/widgets/qlistview.cpp) that seemed to generate it was
this:
input += (char)tolower( e->ascii() );

Which I changed to:
input = input + (char)tolower( e->ascii() );


And the compile then continued perfectly.  Strange.  Thought I'd let you
know.


More information about the Gcc-bugs mailing list