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

Replace if BUILD_UT with ifdef BUILD_UT in generated C++ #374

Open
bocchino opened this issue Jan 4, 2024 · 0 comments
Open

Replace if BUILD_UT with ifdef BUILD_UT in generated C++ #374

bocchino opened this issue Jan 4, 2024 · 0 comments
Labels
code generation Issues related to code generation

Comments

@bocchino
Copy link
Collaborator

bocchino commented Jan 4, 2024

The build system defines BUILD_UT to 1 when building unit tests; otherwise it leaves BUILD_UT undefined. On some platforms, #if BUILD_UT causes an error when BUILD_UT is undefined. See #369 (comment).

@bocchino bocchino added the code generation Issues related to code generation label Jan 4, 2024
@bocchino bocchino self-assigned this Jan 4, 2024
@bocchino bocchino added this to To do in Fixes and Enhancements via automation Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code generation Issues related to code generation
Projects
Development

No branches or pull requests

1 participant