This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/13384] error: non-lvalue in assignment - message a little misleading for C++


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]