You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@guacamole.apache.org by "James Muehlner (Jira)" <ji...@apache.org> on 2024/09/05 22:29:00 UTC
[jira] [Assigned] (GUACAMOLE-1982) Compile error in src/protocols/rdp/channels/rail.c
[ https://issues.apache.org/jira/browse/GUACAMOLE-1982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Muehlner reassigned GUACAMOLE-1982:
-----------------------------------------
Assignee: James Muehlner
> Compile error in src/protocols/rdp/channels/rail.c
> ---------------------------------------------------
>
> Key: GUACAMOLE-1982
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-1982
> Project: Guacamole
> Issue Type: Bug
> Components: guacamole-server
> Affects Versions: 1.5.5
> Reporter: James Muehlner
> Assignee: James Muehlner
> Priority: Major
>
> I'm getting a compile error in src/protocols/rdp/channels/rail.c:
> {code:c}
> channels/rail.c: In function ‘guac_rdp_rail_window_update’:
> channels/rail.c:295:12: error: ‘true’ undeclared (first use in this function)
> 295 | return true;
> | ^~~~
> channels/rail.c:36:1: note: ‘true’ is defined in header ‘<stdbool.h>’; did you forget to ‘#include <stdbool.h>’?
> 35 | #include <stddef.h>
> +++ |+#include <stdbool.h>
> 36 | #include <string.h>
> channels/rail.c:295:12: note: each undeclared identifier is reported only once for each function it appears in
> 295 | return true;
> | ^~~~
> channels/rail.c:297:1: error: control reaches end of non-void function [-Werror=return-type]
> 297 | }
> | ^
> cc1: all warnings being treated as errors
> {code}
> This should probably be `TRUE` since it's a WinPR type, not a stdbool type.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)