Skip to content

Conversation

@ucko
Copy link
Contributor

@ucko ucko commented May 30, 2024

Ensure that members of types that should be unhidden have unhidden forward declarations; likewise for their members, recursively. To that end, give CS_SERVERMSG_'s underlying struct/union types explicit names (cs_servermsg_).

Split from #555.

Ensure that members of types that should be unhidden have unhidden
forward declarations; likewise for their members, recursively.  To that
end, give CS_SERVERMSG_*'s underlying struct/union types explicit
names (cs_servermsg_*).

Signed-off-by: Aaron M. Ucko <ucko@ncbi.nlm.nih.gov>
@freddy77
Copy link
Contributor

freddy77 commented Jun 1, 2024

I would say this patch is doing exactly the opposite of what is expected, these structures are meant to not be visible externally.

@ucko
Copy link
Contributor Author

ucko commented Jun 13, 2024

Good point, a closer look revealed that I encountered such warnings only from outside projects that were using private FreeTDS headers. I'll withdraw this PR accordingly and instead work on proposing public APIs for any needed functionality the CTLIB front-end doesn't already expose.

@ucko ucko closed this Jun 13, 2024
@ucko
Copy link
Contributor Author

ucko commented Jan 8, 2025

FTR, #623, #624, and #625 should take care of my needs more cleanly; thanks for merging them!

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.

2 participants