This is the mail archive of the gcc@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]

Re: Deprecate g++ overloading extension?


On Fri, 02 Jul 2004 10:32:09 -0700, Mark Mitchell <mark@codesourcery.com> wrote:

>>I'm opposed to removing it.  We already give an unconditional pedwarn which
>>tells the user what's wrong with their code.

> If we pick a built-in candidate, we don't warn -- because we never go
> through the call machinery which is where the warning would be generated.

Hmm, that's odd.

> That's why this came up; I talked to someone who was confused by the fact
> that G++ did not match another compiler's behavior.
>
> Will you agree to implement a fix for the case where we pick a built-in
> candidate?

OK.  File a bug report?

Jason


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