Skip to content

GUACAMOLE-1026: Correct inverted performance flag logic. #579

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

Merged
merged 1 commit into from
Mar 24, 2025

Conversation

mike-jumper
Copy link
Contributor

This change corrects the regression in handling of FreeRDP 3.x performance flags. Apparently, we simply inverted the logic through the magic of copypasta.

@necouchman
Copy link
Contributor

@mike-jumper The build seems to be failing with some messages regarding codecs:

/opt/guacamole/lib/pkgconfig/../../include/freerdp3/freerdp/codecs.h:93:9: error: 'codecs_free' is deprecated: [since 3.6.0] Use freerdp_client_codecs_free [-Werror=deprecated-declarations]
#9 221.2    93 |         WINPR_DEPRECATED_VAR("[since 3.6.0] Use freerdp_client_codecs_new",
#9 221.2       |         ^~~~~~~~~~~~~~~~~~~~

@mike-jumper
Copy link
Contributor Author

@necouchman Interestingly, we're not actually calling the functions warned about there. It looks like GCC just universally issues warnings for anything including the codecs.h header (which is effectively everything via freerdp.h).

I've opened FreeRDP/FreeRDP#11412 for the warnings, though am not sure this is intentional behavior on GCC's part.

@necouchman
Copy link
Contributor

@necouchman Interestingly, we're not actually calling the functions warned about there. It looks like GCC just universally issues warnings for anything including the codecs.h header (which is effectively everything via freerdp.h).

I've opened FreeRDP/FreeRDP#11412 for the warnings, though am not sure this is intentional behavior on GCC's part.

Okay - so are you comfortable moving forward with this merge even with the build failing? Or do you want to wait until that's sorted?

@mike-jumper
Copy link
Contributor Author

I think it's OK to move forward and possibly address the build failure separately (or rely instead on adding build flags until it's no longer an issue).

@necouchman necouchman merged commit da2c810 into apache:staging/1.6.0 Mar 24, 2025
1 check failed
@mike-jumper mike-jumper deleted the fix-perf-flags branch March 24, 2025 22:15
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