This is the mail archive of the 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: Ping: PATCH to generate error for address of cast

On Wed, 21 Aug 2002 12:28:35 -0700, Matt Austern <> wrote:

> On Wednesday, August 21, 2002, at 12:17 PM, Jason Merrill wrote:
>> Please remove the static_cast from this testcase; I don't want to support
>> this extension with new-style casts.
> I have no problem removing the static_cast from the positive test case.
> However, in the interests of being as explicit as possible about just
> what this extension does and doesn't do, I think that if we decide it
> doesn't apply to new-style casts then we should probably have the
> compiler issue an error message.

Certainly.  Care to add it, or at least an XFAILed error test?

> (That's a general gripe: language specification is hard, and I think that
> a lot of extensions are underspecified.  We really shouldn't ever put in
> an extension unless we're willing to do the work of figuring out what it
> does in all circumstances.)


>> Otherwise, the patch is OK.  It was corrupted by your mailer, though, so
>> I can't apply it;
> Sorry about that.  Would it help if I sent patches as attachments
> instead, or is that contrary to mailing list policy?

Yes, that would be better.


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