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

Undefined reference to aeron::ExclusivePublication::channelStatus() #946

Closed
ntrifunovic opened this issue May 26, 2020 · 0 comments · Fixed by #947
Closed

Undefined reference to aeron::ExclusivePublication::channelStatus() #946

ntrifunovic opened this issue May 26, 2020 · 0 comments · Fixed by #947

Comments

@ntrifunovic
Copy link
Contributor

ntrifunovic commented May 26, 2020

In ExclusivePublication.h channelStatus() is defined as both const and non const method:

But it is implemented only as const method in ExclusivePublication.cpp: https://github.com/real-logic/aeron/blob/master/aeron-client/src/main/cpp/ExclusivePublication.cpp#L96

This can lead to linker errors like this one:

undefined reference to 'aeron::ExclusivePublication::channelStatus()'

This was introduced in: d90f3c0#diff-42799ad76422e95b191febdf62b38699

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 a pull request may close this issue.

1 participant