[Bug c++/13384] error: non-lvalue in assignment - message a little misleading for C++
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Mar 13 06:43:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-13 06:43 -------
Icc 6.0 produces:
pr13384.cc(15): error: expression must be a modifiable lvalue
T() = T();
^
detected during instantiation of "void func<T>() [with T=int]"
compilation aborted for pr13384.cc (code 2)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13384
More information about the Gcc-bugs
mailing list