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: Alexandre Oliva <aoliva at redhat dot com>
- Date: 12 Sep 2000 00:47:09 -0300
- Cc: gcc-bugs at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <Pine.LNX.4.21.0009101654210.989-100000@xena.cft.ca.us>
On Sep 10, 2000, Jim Carter <jimc@math.ucla.edu> wrote:
> // bug01.C -- Noisy when choosing T::operator Type() vs T::op const
> Type() const
The warning is in place because, without it, we used to get too many
``bug'' reports about GCC picking the ``wrong'' member function.
Disabling it by default would make it useless. We might have a
command-line switch to disable it, though.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me