Skip to content

Add certain system-specific macros to backend name mangling#1429

Merged
WardBrian merged 1 commit intomasterfrom
fix/system-macro-clashes
May 29, 2024
Merged

Add certain system-specific macros to backend name mangling#1429
WardBrian merged 1 commit intomasterfrom
fix/system-macro-clashes

Conversation

@WardBrian
Copy link
Copy Markdown
Member

See https://discourse.mc-stan.org/t/mac-compilation-error/35282/3

I went ahead and scanned through https://github.com/cpredef/predef for any other macros from systems we could possible compile on that didn't start with _, and added those as well.

Submission Checklist

  • Run unit tests
  • Documentation
    • If a user-facing facing change was made, the documentation PR is here:
    • OR, no user-facing changes were made

Release notes

Fixed an issue where certain variable names would end up conflicting with system-specific macros in the generated C++.

Copyright and Licensing

By submitting this pull request, the copyright holder is agreeing to
license the submitted work under the BSD 3-clause license (https://opensource.org/licenses/BSD-3-Clause)

@WardBrian WardBrian merged commit 6feab53 into master May 29, 2024
@WardBrian WardBrian deleted the fix/system-macro-clashes branch May 29, 2024 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants