This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Noisy when choosing T::operator Type() vs T::op const Type() const
- To: Jim Carter <jimc at math dot ucla dot edu>
- Subject: Re: Noisy when choosing T::operator Type() vs T::op const Type() const
- From: Gabriel Dos Reis <Gabriel dot Dos-Reis at cmla dot ens-cachan dot fr>
- Date: 18 Sep 2000 00:06:47 +0200
- Cc: gcc-bugs at gcc dot gnu dot org
- Organization: CMLA, ENS Cachan -- CNRS UMR 8536 (France)
- References: <200009172154.OAA12303@bodhi.math.ucla.edu>
Jim Carter <jimc@math.ucla.edu> writes:
[...]
| How about a compromise? In the documentation, the node "Trouble" : "C++
| Misunderstandings" appears to be a collection of responses to similar
| situations. Let's add another section explaining the situation and declaring
| that the compiler is right and the complainers are wrong. Then, lose the
| message. If this patch were accepted as official, we could use gcc v2.95.2.
I'm for whatever make it acceptable to get rid of this annoying
diagnostic and related annoying complaints.
To tell the truth, I don't find the diagnostic really helpful -- if we
were to include it, then there is no reason we should left out other C++
traps.
My two cents.
-- Gaby