Skip to content

fix duplicate header guards#146

Open
Nibanovic wants to merge 1 commit intocactusdynamics:masterfrom
PosidoniaTechnology:fix-duplicate-header-guards
Open

fix duplicate header guards#146
Nibanovic wants to merge 1 commit intocactusdynamics:masterfrom
PosidoniaTechnology:fix-duplicate-header-guards

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