[cfe-dev] [PATCH] MS compatibility flag implies delayed parsing

Aaron Ballman aaron at aaronballman.com
Sun Nov 6 13:53:05 PST 2011


On Sun, Nov 6, 2011 at 2:53 PM, Eli Friedman <eli.friedman at gmail.com> wrote:
> On Sun, Nov 6, 2011 at 12:12 PM, Aaron Ballman <aaron at aaronballman.com> wrote:
>> There was a small discussion on IRC about the
>> -fdelayed-template-parsing flag always going hand-in-hand with the
>> -fms-compatibility flag.  Since the implication is already there (you
>> don't really have ms compatibility without the delayed template
>> parsing, to a certain extent), this patch makes it more explicit.  So
>> when you pass the fms-compatibility flag, it automatically enables the
>> fdelayed-template-parsing flag as well.  If the user really does want
>> one without the other, they can always pass -fms-compatibility
>> -fnodelayed-template-parsing.
>
> Concept is fine; the patch doesn't actually implement what you say it
> does, though.  Specifically, -fms-compatibility
> -fnodelayed-template-parsing won't work with this patch.

Is there a better example I should follow instead?

~Aaron




More information about the cfe-dev mailing list