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

rr_client redefines 'cfg' #1453

Closed
jveber opened this issue Oct 9, 2019 · 1 comment
Milestone

Comments

@jveber
Copy link

@jveber jveber commented Oct 9, 2019

rr_client.c - "struct mosq_config cfg" (line 50) is already defined in pub_shared.c (line 41)
please add "extern" keyword infront of definition rr_client.c (line 50) to avoid this redefiniton and undefined behavior.

ralight added a commit that referenced this issue Oct 9, 2019
Closes #1453. Thanks to jveber.
@ralight

This comment has been minimized.

Copy link
Contributor

@ralight ralight commented Oct 9, 2019

So it does. Well spotted and thanks for the report. That's now fixed in the fixes branch.

@ralight ralight added this to the 1.6.8 milestone Oct 31, 2019
@ralight ralight closed this Oct 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.