Hi

I have working correctly version 1.3.0 in Ubuntu 18.04. But in 20.04 it
gives me the following error when compiling.

I think it has been solved with version 1.4.0, but it is not yet published.
What I can do?

Error with command 'make':


rdp.c: In function ‘guac_rdp_handle_connection’:
rdp.c:440:5: error: ‘VerifyCertificate’ is deprecated
[-Werror=deprecated-declar

                                ations]
  440 |     rdp_inst->VerifyCertificate = rdp_freerdp_verify_certificate;
      |     ^~~~~~~~
In file included from /usr/include/freerdp2/freerdp/api.h:23,
                 from /usr/include/freerdp2/freerdp/freerdp.h:42,
                 from beep.h:23,
                 from rdp.c:21:
/usr/include/freerdp2/freerdp/freerdp.h:368:47: note: declared here
  368 |   WINPR_DEPRECATED(ALIGN64 pVerifyCertificate VerifyCertificate);
/**< (

            offset 51)
      |                                               ^~~~~~~~~~~~~~~~~
/usr/include/winpr2/winpr/winpr.h:53:31: note: in definition of macro
‘WINPR_DEP

                RECATED’
   53 | #define WINPR_DEPRECATED(obj) obj __attribute__((deprecated))


Thanks

Reply via email to