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

Header Guards for C++ applications to call CFE, OSAL, PSP #688

Open
3 tasks done
irowebbn opened this issue Jul 21, 2023 · 0 comments
Open
3 tasks done

Header Guards for C++ applications to call CFE, OSAL, PSP #688

irowebbn opened this issue Jul 21, 2023 · 0 comments

Comments

@irowebbn
Copy link

Checklist (Please check before submitting)

  • I reviewed the Contributing Guide.
  • I reviewed the cFS README.md file to see if the feature is in the major future work.
  • I performed a cursory search to see if the feature request is relevant, not redundant, nor in conflict with other tickets.

Describe the solution you'd like
Wrap all public headers in CFE, OSAL, and PSP in hedaer guards that allow inclusion from C++ translation units:

#ifdef __cplusplus
extern "C" {
#endif

<content>

#ifdef __cplusplus
}
#endif

Describe alternatives you've considered
The alternative is to wrap the #includes in the calling apps with the header guards.

Additional context

Requester Info
Isaac Rowe, NASA JSC, Jacobs Technology

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant