-
Notifications
You must be signed in to change notification settings - Fork 535
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
MinGW: Fix error: cannot convert 'size_t*' to 'int*' #1825
Conversation
Removing another addrinfo as we do.
Co-authored-by: Alex Rousskov <rousskov@measurement-factory.com>
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.
Thanks a lot for this cleanup!
P.S. We should avoid (poor) code duplication that this PR and recent 1800e25 are creating, but I think we should continue to duplicate that code for a little bit longer before there are enough use cases to suggest a proper deduplication solution.
Removing another addrinfo as we do.
I assume you are referring to the pattern of 2 local variables with a |
Removing another addrinfo as we do.
The pattern includes two local variable definition/initialization code, a reinterpret_cast, an assertion, and a conversion to an Ip::Address object (at least).
Yeah, let's see where these initial (and duplicated) changes lead us. I see no reason to discuss the details of that potential future duplication avoidance effort until we have more merged use cases. We are making good progress so far... |
Removing another addrinfo as we do.
Removing another addrinfo as we do.
Removing another addrinfo as we do.
Removing another addrinfo as we do.