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

Freerdp 3 and casts #44

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

akallabeth
Copy link
Contributor

  • Add compile time option to link freerdp3
  • Remove function pointer casts

Cast function pointer arguments in implementation so that changes
in functin pointer arguments emit warnings
Copy link
Contributor

@hardening hardening left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like 829c569 and 18fef48, not so much d7e9840

@akallabeth
Copy link
Contributor Author

@hardening benefit of d7e9840 is that if we change something with the function pointers we immediately get a compiler warning whereas the previous casts did hide all changes.

@bmiklautz
Copy link
Contributor

@akallabeth why the massiv reformatting?

@akallabeth
Copy link
Contributor Author

@bmiklautz you mean the reordered includes or the removed function pointer casts?

@akallabeth
Copy link
Contributor Author

@bmiklautz the answer for the removed function pointer casts is easy, so that changes to the function signature will spill warnings when compiled

@akallabeth akallabeth force-pushed the freerdp_3_and_casts branch from 05344b2 to b8e6113 Compare October 8, 2021 10:31
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.

3 participants