internal compiler error, egcs-2.91.26, solaris 2.5.1, sparc
Kurt Schreiner
ks@fred.ub.Uni-Mainz.DE
Wed May 6 01:40:00 GMT 1998
hi, just got this one trying to compile qt-1.33:
make[2]: Entering directory `/pti/05/ks/src/net/qt-1.33/src/tools'
gcc -I/pti/05/ks/src/net/qt-1.33/include -c -O2 -fno-strength-reduce -Wall -W -I/usr/X11R6.3/include -fPIC qtstream.cpp
qbuffer.h: In method `QBuffer::QBuffer(const class QBuffer &)':
In file included from qtstream.cpp:24:
qbuffer.h:64: warning: base class `class QIODevice' should be explicitly initialized in the copy constructor
qfile.h: In method `QFile::QFile(const class QFile &)':
In file included from qtstream.cpp:25:
qfile.h:78: warning: base class `class QIODevice' should be explicitly initialized in the copy constructor
qtstream.cpp: At top level:
qtstream.cpp:152: warning: ANSI C++ does not permit `QTextStream::basefield' to be defined as `QTS::basefield'
qtstream.cpp:153: warning: ANSI C++ does not permit `QTextStream::adjustfield' to be defined as `QTS::adjustfield'
qtstream.cpp:153: Internal compiler error.
qtstream.cpp:153: Please submit a full bug report to `egcs-bugs@cygnus.com'.
make[2]: *** [qtstream.o] Error 1
make[2]: Leaving directory `/pti/05/ks/src/net/qt-1.33/src/tools'
make[1]: *** [tools] Error 2
make[1]: Leaving directory `/pti/05/ks/src/net/qt-1.33/src'
make: *** [src] Error 2
qtstream.h defines the class QTextStream
class QTextStream // text stream class
{
public: ....
static const int basefield; // bin | oct | dec | hex
static const int adjustfield; // left | right | internal
static const int floatfield; // scientific | fixed
private: ....
};
and then typedefs
typedef QTextStream QTS;
the lines egcs complains about in qtstream.cpp:
const int QTS::basefield = I_BASE_MASK;
const int QTS::adjustfield = QTS::left | QTS::right | QTS::internal;
const int QTS::floatfield = QTS::scientific | QTS::fixed;
hm, QTS::floatfield isn't complained about???? any ideas?
-kurt
===============================================================================
Dipl.-Inform. Kurt Schreiner Tel. : +49 6131 39 5134
Universitaet Mainz/Zentralbibliothek Fax. : +49 6131 39 4159
Jakob Welder Weg 6 Mail : kurt.schreiner@uni-mainz.de
D-55128 Mainz
===============================================================================
More information about the Gcc-bugs
mailing list