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

GUACAMOLE-1846: Ensure successful builds on older GCC. #457

Conversation

jmuehlner
Copy link
Contributor

This fixes some build issues introduced in #455.

Copy link
Contributor

@mike-jumper mike-jumper left a comment

Choose a reason for hiding this comment

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

Please rebase against staging/1.5.4

If the reentrant rwlock implementation will become part of the public API within libguac, I recommend:

  1. Renaming the header to rwlock.h
  2. Renaming the structure to guac_rwlock and related functions to guac_rwlock_*
  3. Mirroring the naming and style of pthreads such that it's largely a drop-in replacement (and such that we have extra confirmation that our API aligns with well-established use).

@jmuehlner jmuehlner force-pushed the GUACAMOLE-1846-fix-struct-initializations branch 2 times, most recently from 84ec3e6 to eb281c1 Compare August 29, 2023 22:58
@jmuehlner jmuehlner changed the base branch from master to staging/1.5.4 August 29, 2023 22:59
@jmuehlner jmuehlner force-pushed the GUACAMOLE-1846-fix-struct-initializations branch 2 times, most recently from ad7e294 to bf1abf4 Compare August 29, 2023 23:10
@jmuehlner
Copy link
Contributor Author

If the reentrant rwlock implementation will become part of the public API within libguac, I recommend

Good suggestions. All done now.

src/libguac/guacamole/client.h Outdated Show resolved Hide resolved
src/libguac/guacamole/rwlock.h Outdated Show resolved Hide resolved
src/libguac/guacamole/rwlock.h Outdated Show resolved Hide resolved
@jmuehlner jmuehlner force-pushed the GUACAMOLE-1846-fix-struct-initializations branch from bf1abf4 to 2769e5f Compare August 30, 2023 21:08
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