On Thu, Mar 15, 2012 at 7:29 AM, Aaron Ballman <[email protected]> wrote:
> On Wed, Mar 14, 2012 at 11:25 PM, J B <[email protected]> wrote:
>> The reason I recommend an error is because the code will error out later
>> without the .tlh (where it is requested via attributes or absence of).  The
>> errors later will be a direct result of the failure of #import to function
>> properly.
>
> That's a valid reason to error in my book.  I'll go down that route.
> Thanks for the insights!

This is the revised patch based on feedback from everyone.  It causes
a (shorter) error to happen when using #import in MS mode, and does
not perform the actual include.  It also eats the optional attributes
so that parsing can continue.

Again, this will fix PR 10727

Thanks!

~Aaron

Attachment: MicrosoftImport.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to