This is the mail archive of the gcc-prs@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]

Re: c++/6271: GCC 2.95 fail


Synopsis: GCC 2.95 fail

State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Fri Apr 12 18:34:51 2002
State-Changed-Why:
    Your code is buggy, not gcc.
    Compiling with the Digital Unix C++ compiler shows:
    
    cxx: Warning: a.cpp, line 23: initial value of reference to non-const
    must be
              an lvalue
            a = f();
    ------------^
    
    
    
    
    
    
    For general C++ help, refer to the comp.lang.c++ or
    comp.lang.c++.moderated newsgroups.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6271


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