This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13517] confusing error message for reference on a constant
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Dec 2003 17:17:42 -0000
- Subject: [Bug c++/13517] confusing error message for reference on a constant
- References: <20031230123449.13517.debian-gcc@lists.debian.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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