yronglin wrote:

> I'm afraid we'll end up in a state where we have half-traditional 
> preprocessing

I completely agree with that concern. Accumulating piecemeal patches for legacy 
MSVC preprocessor behaviors risks creating a hybrid mode that is hard to reason 
about and even harder to maintain.

However, before MSVC's /Zc:preprocessor becomes universally adopted (and given 
that many existing codebases still rely on the old behavior under 
-fms-compatibility), where do we draw the line? Is there a general guideline or 
threshold in the community for when we should reject these compatibility hacks 
in favor of pushing users toward standard-conforming modes?

Also CC @AaronBallman @rnk 


https://github.com/llvm/llvm-project/pull/241157
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to