Hi everybody, in the test program vvector.cxx that I found in 1.03 distribution I read: const Real_t pattern = 8.625; TMatrix m(0,vsize,0,vsize+1); ... m = pattern; (TMatrixDiag)m = pattern-3; //line 459 I am used to be baffled by elegant C++ constructs, but this time the Solaris compiler is not any better than me: > na48s01:/afs/cern.ch/user/c/calaf/root/test>gmake > CC -O -KPIC -I/afs/cern.ch/user/c/calaf/root/include -c vvector.cxx > "vvector.cxx", line 459: Error: The left operand must be a lvalue. > "vvector.cxx", line 466: Error: The left operand must be a lvalue. > "vvector.cxx", line 494: Error: The left operand must be a lvalue. > 3 Error(s) detected. Where is the trick? Paolo Calafiura
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:29 MET