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

Address warnings produced by clang in generated C++ code #2189

Closed
cmnrd opened this issue Feb 9, 2024 · 0 comments · Fixed by #2201
Closed

Address warnings produced by clang in generated C++ code #2189

cmnrd opened this issue Feb 9, 2024 · 0 comments · Fixed by #2201
Labels
cpp Related to C++ target enhancement Enhancement of existing feature
Milestone

Comments

@cmnrd
Copy link
Collaborator

cmnrd commented Feb 9, 2024

Most LF-Cpp programs produce warnings when compiled with clang >15.0.0. See lf-lang/playground-lingua-franca#99 for a collection of warning messages. These warnings should be easy to address by introducing [[maybe_unused]] attributes in the code generator.

@cmnrd cmnrd added enhancement Enhancement of existing feature cpp Related to C++ target labels Feb 9, 2024
@cmnrd cmnrd added this to the 0.7.0 milestone Feb 9, 2024
cmnrd added a commit that referenced this issue Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cpp Related to C++ target enhancement Enhancement of existing feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant