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

fix duplicate header guards #146

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Nibanovic
Copy link

sink.h and sink.disabled.h have identical header guards, because of which I couldn't build my project with cactus-rt linked.

This was the only issue and the build then succeeded as expected.

As the CACTUS_RT_TRACING_ENABLED compiler option is set by default, these header should not be included. I'm not sure why the compiler then went ahead and looked for required definitions in ALL headers, even those that should not be included - I'm a bit out of my depth here.

Anyways, now it works for me and is synchronized with how the rest of the header guards in include/tracing are defined.

Byeee

* sink.h and sink.disabled.h
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

Successfully merging this pull request may close these issues.

1 participant