[ 
https://issues.apache.org/jira/browse/GUACAMOLE-1982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nick Couchman updated GUACAMOLE-1982:
-------------------------------------
    Fix Version/s: 1.6.0

> 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
>             Fix For: 1.6.0
>
>
> I'm getting a compile error in {{src/protocols/rdp/channels/rail.c}}:
> {code:none}
> 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)

Reply via email to