Hi everyone,

I'm compiling xrdp for Windows with Visual Studio 10.
The 4.2 Source works quite well but the current git version has some problems. Bolow I've listed the compillation error and the neccessary definitions with their recspective filenames and line numbers.
 I need your help to get rid of this error.

________________________________________________________________
xrdp_mm.c(697):   self->chan_trans->trans_data_in = xrdp_mm_chan_data_in;

*1>\xrdp_mm.c(697): error C2440: '=': cannot convert from 'int (__fastcall *)(trans *)' to 'ttrans_data_in' *
________________________________________________________________

                  /* this is callback from trans obj
                     returns error */
xrdp_mm.c(605): static int __fastcall xrdp_mm_chan_data_in(struct trans* trans)
________________________________________________________________

xrdp_types.h(191):struct trans* chan_trans; /* connection to chansrv */
_________________________________________________________________

trans.h(45):    typedef int (*ttrans_data_in)(struct trans* self);
_________________________________________________________________

trans.h(47):    struct trans
                {
                  tbus sck;
                  int mode; /* 1 tcp, 2 unix socket */
                  int status;
                  int type1; /* 1 listener 2 server 3 client */
trans.h(53):      ttrans_data_in trans_data_in;
                  ttrans_conn_in trans_conn_in;
                  void* callback_data;
                  int header_size;
                  struct stream* in_s;v
                  struct stream* out_s;
                  char* listen_filename;
                };

_________________________________________________________________

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
xrdp-devel mailing list
xrdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xrdp-devel

Reply via email to