This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
crash at compile time compiling qt-1.30 library
- To: egcs-bugs at cygnus dot com
- Subject: crash at compile time compiling qt-1.30 library
- From: Aubert Pierre <paubert at laninsa dot insa-lyon dot fr>
- Date: Thu, 2 Oct 1997 09:51:09 +0200 (METDST)
host : hp hppa2.0 hpux10.20
hp hppa1.0 hpux10.20
laninsa:lib/qt-1.30> uname -a
HP-UX laninsa B.10.20 A 9000/780 2010120751 two-user license
laninsa:lib/qt-1.30> gcc -v
Reading specs from /home2/paubert/egcs/lib/gcc-lib/hppa1.1-hp-hpux10.20/egcs-2.90.11/specs
gcc version egcs-2.90.11 970929 (gcc2-970802 experimental)
I try to compile the qt-1.30 library from troll tech. (I have no problem
with gcc2.7.2 )
I get
>>> gcc -c -fno-strength-reduce -I/home2/paubert/lib/qt-1.30/include showimg.cpp
compile ok
>>> gcc -c -O2 -fno-strength-reduce -I/home2/paubert/lib/qt-1.30/include showimg.cpp
showimg.cpp: In method `bool ImageViewer::reconvertImage()':
showimg.cpp:319: Internal compiler error.
showimg.cpp:319: Please submit a full bug report to `egcs-bugs@cygnus.com'.
>>> with -Wall -W
gcc -c -O2 -fno-strength-reduce -Wall -W -I/home2/paubert/lib/qt-1.30/include main.cpp
/home2/paubert/lib/qt-1.30/include/qwidget.h: In method `QWidget::QWidget(const class QWidget &)':
In file included from showimg.h:12,
from main.cpp:1:
/home2/paubert/lib/qt-1.30/include/qwidget.h:341: warning: base class `class QObject' should be explicitly initialized in the copy constructor
/home2/paubert/lib/qt-1.30/include/qstrlist.h: In method `QStrList::QStrList(const class QStrList &)':
In file included from /home2/paubert/lib/qt-1.30/include/qimage.h:27,
from showimg.h:13,
from main.cpp:1:
/home2/paubert/lib/qt-1.30/include/qstrlist.h:83: warning: base class `class QListT<char>' should be explicitly initialized in the copy constructor
/home2/paubert/lib/qt-1.30/include/qapp.h: In method `QApplication::QApplication(const class QApplication &)':
In file included from main.cpp:2:
/home2/paubert/lib/qt-1.30/include/qapp.h:166: warning: base class `class QObject' should be explicitly initialized in the copy constructor
/home2/paubert/lib/qt-1.30/bin/moc showimg.h -o mshowimg.cpp
gcc -c -O2 -fno-strength-reduce -Wall -W -I/home2/paubert/lib/qt-1.30/include mshowimg.cpp
/home2/paubert/lib/qt-1.30/include/qwidget.h: In method `QWidget::QWidget(const class QWidget &)':
In file included from showimg.h:12,
from mshowimg.cpp:16:
/home2/paubert/lib/qt-1.30/include/qwidget.h:341: warning: base class `class QObject' should be explicitly initialized in the copy constructor
/home2/paubert/lib/qt-1.30/include/qstrlist.h: In method `QStrList::QStrList(const class QStrList &)':
In file included from /home2/paubert/lib/qt-1.30/include/qimage.h:27,
from showimg.h:13,
from mshowimg.cpp:16:
/home2/paubert/lib/qt-1.30/include/qstrlist.h:83: warning: base class `class QListT<char>' should be explicitly initialized in the copy constructor
gcc showimg.o main.o mshowimg.o -o showimg -L/home2/paubert/lib/qt-1.30/lib -lqt
Ciao Pierre.