public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/2112] misleading message for binding r-value to non-const reference
       [not found] <20010226191600.2112.richarda@ixla.com.au>
@ 2004-01-01  2:47 ` pinskia at gcc dot gnu dot org
  2004-03-19 19:48 ` [Bug c++/2112] [3.3/3.4/3.5 Regression] " giovannibajo at libero dot it
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-01  2:47 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-01 02:47 -------
*** Bug 13517 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |debian-gcc at lists dot
                   |                            |debian dot org


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/2112] [3.3/3.4/3.5 Regression] misleading message for binding r-value to non-const reference
       [not found] <20010226191600.2112.richarda@ixla.com.au>
  2004-01-01  2:47 ` [Bug c++/2112] misleading message for binding r-value to non-const reference pinskia at gcc dot gnu dot org
@ 2004-03-19 19:48 ` giovannibajo at libero dot it
  2004-03-19 19:56 ` bangerth at dealii dot org
  2004-06-18  4:41 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 4+ messages in thread
From: giovannibajo at libero dot it @ 2004-03-19 19:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2004-03-19 19:48 -------
If we consider this a bug of any kind, it's a regression against 2.95.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|misleading message for      |[3.3/3.4/3.5 Regression]
                   |binding r-value to non-const|misleading message for
                   |reference                   |binding r-value to non-const
                   |                            |reference


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/2112] [3.3/3.4/3.5 Regression] misleading message for binding r-value to non-const reference
       [not found] <20010226191600.2112.richarda@ixla.com.au>
  2004-01-01  2:47 ` [Bug c++/2112] misleading message for binding r-value to non-const reference pinskia at gcc dot gnu dot org
  2004-03-19 19:48 ` [Bug c++/2112] [3.3/3.4/3.5 Regression] " giovannibajo at libero dot it
@ 2004-03-19 19:56 ` bangerth at dealii dot org
  2004-06-18  4:41 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 4+ messages in thread
From: bangerth at dealii dot org @ 2004-03-19 19:56 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bangerth at dealii dot org  2004-03-19 19:56 -------
I don't consider this as a bug. I'd just close it. 
 
Note that there is not much we can do about it: we can't say that there is an attempt 
to bind an rvalue to a non-const reference, because this would imply that we have 
already settled on one of the available overloads. However, how can we settle on 
one overload if we don't find a suitable one? The only thing we could do in addition to 
simply print the available overloads would be to say 
  candidate 'xyz' is not available because it requires binding a temporary 
  to a non-const reference 
but how should we ever be able to do that? This would amount to second guessing 
what the programmer wanted to do, and would likely yield quite a number of cases 
where the programmer did not intend this and is more confused by the message 
than not. 
 
W. 

-- 


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/2112] [3.3/3.4/3.5 Regression] misleading message for binding r-value to non-const reference
       [not found] <20010226191600.2112.richarda@ixla.com.au>
                   ` (2 preceding siblings ...)
  2004-03-19 19:56 ` bangerth at dealii dot org
@ 2004-06-18  4:41 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-18  4:41 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-18 04:41 -------
The error message in 3.3 and 3.4 and 3.5 are all correct so closing.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |WONTFIX


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-06-18  4:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20010226191600.2112.richarda@ixla.com.au>
2004-01-01  2:47 ` [Bug c++/2112] misleading message for binding r-value to non-const reference pinskia at gcc dot gnu dot org
2004-03-19 19:48 ` [Bug c++/2112] [3.3/3.4/3.5 Regression] " giovannibajo at libero dot it
2004-03-19 19:56 ` bangerth at dealii dot org
2004-06-18  4:41 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).