internal error in cp-lang.c
Steven Bosscher
s.bosscher@student.tudelft.nl
Mon Feb 24 20:21:00 GMT 2003
Op ma 24-02-2003, om 20:57 schreef Karol Szkudlarek:
> Hello!
>
> I am trying to compile following t.cpp program:
>
> #include <qstring.h>
> int a()
> {
> QString s;
> s.isEmpty() ? s+"aa":s;
> }
>
> with command:
>
> g++ -c -I/usr/share/qt3/include t.cpp
>
> and I've got the internal compiler error:
>
> t.cpp: In function `int a()':
> t.cpp:5: error: non-lvalue in unary `&'
This is PR c++/9440. You're not exactly the first to notice, everybody
seems to be hit by this bug :-/
Greetz
Steven
More information about the Gcc
mailing list