-
Notifications
You must be signed in to change notification settings - Fork 865
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
[core] Fix warning and workaround ABI compatibility due to ENABLE_EXPERIMENTAL_BONDING #1794
Conversation
The warning can be triggered when srt.h is included by other project.
By the way, the abi is broken due to ENABLE_EXPERIMENTAL_BONDING. |
Right, unfortunately, we've missed that. |
Fortunately option values are not significant for data interchange, problems may occur only for shared library updates. |
The patch is trying to make SRTO_BINDTODEVICE compliant before ENABLE_EXPERIMENTAL_BONDING was added. Since almost half a year has passed, it make sense to not break the ABI again. So I can move SRTO_BINDTODEVICE before #if ENABLE_EXPERIMENTAL_BONDING. |
On the other hand, it's hard to detect and more dangerous. |
|
Is the updated patch OK? Or you mean SRTO_BINDTODEVICE should be assigned a value explicitly? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the updated patch OK?
Yes, all good. Thank you!
The warning can be triggered when srt.h is included by other project.