Date:
11/29/01 12:39
|
Submitted by:
robertthebob
|
Assigned to:
unset
|
Category:
Unset
|
Priority:
5
|
Ticket group:
Unset
|
Resolution:
Unset
|
Summary:
mm2rbn.cpp, linmm2rbn.cpp, line 38: head_refs[0] not right
|
Original submission:
Porting to Compaq cxx on Linux Alpha...
Here is the declaration for head_refs:
src/graphics/mm2rbn.h: fGL_a3 head_refs[2];
Why isn't it a modifiable lvalue???
I'm having a little trouble with this one.
/usr/bin/cxx -c -g -fno-exceptions -noimplicit_include -I../../src/graphics -I../../src/common -I../../oelib -I/usr/local/src/ghemical-0.81/src -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/lib/glib/include -I/usr/X11R6/include ./mm2rbn.cpp
cxx: Error: ./mm2rbn.cpp, line 38: expression must be a modifiable lvalue
head_refs[0] = docv->chn_vector[chn].res_vector[1].crd_vector[0].front().data; // begin
--------^
cxx: Error: ./mm2rbn.cpp, line 39: expression must be a modifiable lvalue
head_refs[1] = docv->chn_vector[chn].res_vector[0].crd_vector[0].front().data; // end
--------^
cxx: Error: ./mm2rbn.cpp, line 41: expression must be a modifiable lvalue
tail_refs[0] = docv->chn_vector[chn].res_vector[length - 2].crd_vector[0].front().data; // begin
--------^
cxx: Error: ./mm2rbn.cpp, line 42: expression must be a modifiable lvalue
tail_refs[1] = docv->chn_vector[chn].res_vector[length - 1].crd_vector[0].front().data; // end
--------^
cxx: Info: 4 errors detected in the compilation of "./mm2rbn.cpp".
make[1]: *** [mm2rbn.o] Error 1
make[1]: Leaving directory `/md1/usr/local/src/ghemical-0.81/src/graphics'
make: *** [all] Error 1
__________________________________
Bob Williams 11/29/01
|
|
Please log in to add comments and receive followups via email.
|
|
Followups
|
Comment
|
Date
|
By
|
Ooops, this was some old ugly code, and now it's fixed at CVS.
Now it copies the actual values, and I hope it works. Thanks.
TH
|
12/05/01 09:04
|
thassine
|
|
|
No results for "Dependent on ticket" |
No results for "Dependent on Task" |
|
No other tickets are dependent on this ticket
|
|
Ticket change history
|
Field
|
Old value
|
Date
|
By
|
|
status_id
|
Unset |
03/07/02 02:37
|
thassine
|
|
close_date
|
12/31/69 19:00 |
03/07/02 02:37
|
thassine
|
|