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++/13517] confusing error message for reference on a constant


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-30 17:17 -------
It is not a special case in the C++ standard at all, the problem is that you are trying to a constant 
and make it a reference which is wrong.  Yes the error message is confussing, I thought I saw a 
bug like this one asking for a better error message.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |diagnostic
   Last reconfirmed|0000-00-00 00:00:00         |2003-12-30 17:17:41
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13517


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