You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[C++] Enable MSVC's new preprocessor to handle C++20 grammar such as __VA_OPT__ #50978
changed the title [-][C++] Enable MSVC's new preprocesser to handle C++20 grammar such as `__VA_OPT__`[/-][+][C++] Enable MSVC's new preprocessor to handle C++20 grammar such as `__VA_OPT__`[/+]on Aug 25, 2026
How about specifying /Zc:preprocessor globally and specifying /Zc:preprocessor- (trailing - is important to disable this feature) only for compilation units that use boost/multiprecion when Boost_VERSION is less than 1.89?
How about specifying /Zc:preprocessor globally and specifying /Zc:preprocessor- (trailing - is important to disable this feature) only for compilation units that use boost/multiprecion when Boost_VERSION is less than 1.89?
I can accept this approach. I will leave a TODO reminder that the latter flag can be fixed after upgrading to Boost 1.89. I will update the PR soon.
Describe the enhancement requested
And we can try to remove the compile flag
/wd5105.Reference: #50252 (comment)
cc @raulcd
Component(s)
C++