Qt-1.31 compile fails with egcs-1.0 on Openserver

Dag Nygren dag@newtech.fi
Thu Dec 11 02:15:00 GMT 1997


Hi,

I tried to compile Qt-1.31 wth egcs-1.0 on my Openserver 5.0.0 and
this would fail with an internal compiler error:


gcc -I/u3/C++-libs/qt-1.31/include -c -I/usr/X11R6.1/include -O2 -fno-strength-reduce -Wall -W -fPIC qregexp.cpp
qstring.h: In method `QString::QString()':
In file included from qregexp.h:26,
                 from qregexp.cpp:23:
qstring.h:151: Internal compiler error.
qstring.h:151: Please submit a full bug report to `egcs-bugs@cygnus.com'.
make[2]: *** [qregexp.o] Error 1
make[2]: Leaving directory `/u3/C++-libs/qt-1.31/src/tools'
make[1]: *** [tools] Error 2
make[1]: Leaving directory `/u3/C++-libs/qt-1.31/src'
make: *** [src] Error 2

The rows in question contains emtpy funtion declarations:

class QString : public QByteArray               // string class
{
public:
 151 >>>   QString() {}                                // make null string
    QString( int size );                        // allocate size incl. \0
    QString( const QString &s ) : QByteArray( s ) {}
    QString( const char *str );                 // deep copy
    QString( const char *str, uint maxlen );    // deep copy, max length

.....

is it just me or...

BRG


-- 
Dag Nygren                               email: dag@newtech.fi
Oy NewTech Ab                            phone: +358 9 8024910
Trasktorpet 3                              fax: +358 9 8024916
02360 ESBO                                 NMT: 0400-426312
FINLAND




More information about the Gcc-bugs mailing list