Skip to content

GUACAMOLE-2326: Fix freerdp feature detection with latest version - #711

Open
ondrejholy wants to merge 1 commit into
apache:mainfrom
ondrejholy:wip/oholy/freerdp-3.31-deprecated-declarations
Open

ondrejholy wants to merge 1 commit into
apache:mainfrom
ondrejholy:wip/oholy/freerdp-3.31-deprecated-declarations

Conversation

@ondrejholy

Copy link
Copy Markdown

Currently, #include <freerdp/freerdp.h> triggers -Wdeprecated-declarations
with FreeRDP 3.31 because newly deprecated typedefs in winpr/sspi.h are also
used within that header. Combined with -Werror, configure checks for
FREERDP_HAS_CONTEXT and freerdp_settings_set_pointer incorrectly return
"no". Let's add -Wno-deprecated-declarations to suppress header deprecation
warnings during feature detection.

Fixes: https://issues.apache.org/jira/browse/GUACAMOLE-2326

Currently, `#include <freerdp/freerdp.h>` triggers `-Wdeprecated-declarations`
with FreeRDP 3.31 because newly deprecated typedefs in `winpr/sspi.h` are also
used within that header. Combined with `-Werror`, configure checks for
`FREERDP_HAS_CONTEXT` and `freerdp_settings_set_pointer` incorrectly return
"no". Let's add `-Wno-deprecated-declarations` to suppress header deprecation
warnings during feature detection.

Fixes: https://issues.apache.org/jira/browse/GUACAMOLE-2326

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

1 participant