Internal error when compiling qt
Ognyan Kulev
ogi@fmi.uni-sofia.bg
Wed May 10 12:42:00 GMT 2000
Hi,
I repeated compiling on another computer running Debian GNU/Linux 2.2
(frozen potato) and it occurs again.
The compiler is g++ 2.95.2-10
The program is qt-1.44
The file is src/widgets/qmenubar.cpp:541
This line looks like this:
irrects = new QRect [ mitems->count() ];
I correct it by using a temporary variable:
int temp = mitems->count();
irrects = new QRect [ temp ];
I attach the compiling command (with -v --save-temps), its output, and
qmenubar.ii
--
Ognyan Kulev <ogi@fmi.uni-sofia.bg>, "\"Programmer\""
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qmenubar.ii.bz2
Type: application/x-bzip2
Size: 30553 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20000510/e9584f87/attachment.bz2>
More information about the Gcc-bugs
mailing list