Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for the new MSVC preprocessor #4078

Merged
merged 3 commits into from
Mar 7, 2024

Commits on Mar 7, 2024

  1. Add support for the new MSVC preprocessor

    Microsoft has added a new, standards-conformant preprocessor
    to MSVC, which can be enabled with /Zc:preprocessor. This
    preprocessor trips over our HDopen() function-like variadic
    macro since it uses a hack that only works with the legacy
    MSVC preprocessor.
    
    This fix adds ifdefs to use the correct HDopen() macro
    depending on the MSVC preprocessor selected.
    derobins committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    d3457b8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b340dc7 View commit details
    Browse the repository at this point in the history
  3. Add clarifying parens

    derobins committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    13d7d39 View commit details
    Browse the repository at this point in the history