RE: request.h: size of unnamed array is negative

2013-04-14 Thread Hugh McMaster
On Apr 14, 7:20 PM, Hugh McMaster wrote: >Is there something special/different that needs to be done for the server to >accept input? I can answer this myself now. SERVER_START_REQ { req->spi_workarea.right = workarea.right; req->spi_workarea.bottom = workarea.bottom; wine_server_cal

RE: request.h: size of unnamed array is negative

2013-04-14 Thread Hugh McMaster
On Apr 13, 2013, Charles Davis wrote: > STOP! You should modify server/protocol.def instead. The file you changed is > automatically generated from protocol.def, along with a bunch of other files > needed to make the server interface magic work. >> On Apr 13, 2013, at 7:39 AM, Hugh McMaster wro

Re: request.h: size of unnamed array is negative

2013-04-13 Thread Charles Davis
On Apr 13, 2013, at 9:43 PM, Hugh McMaster wrote: > On Apr 13, 2013, at 7:39 AM, Hugh McMaster wrote: > >> I've been adding a new handler to Wine's server. Unfortunately, I've run >> into a problem with C_ASSERT that I can't seem to resolve. >> >> In server/request.h, I've added the following

Re: request.h: size of unnamed array is negative

2013-04-13 Thread Charles Davis
On Apr 13, 2013, at 9:40 PM, Hugh McMaster wrote: > Am 13.04.2013 15:39, schrieb Hugh McMaster: >> I've been adding a new handler to Wine's server. Unfortunately, I've run >> into a problem with C_ASSERT that I can't seem to resolve. >> >> In server/request.h, I've added the following code: >>

RE: request.h: size of unnamed array is negative

2013-04-13 Thread Hugh McMaster
On Apr 13, 2013, at 7:39 AM, Hugh McMaster wrote: > I've been adding a new handler to Wine's server. Unfortunately, I've run > into a problem with C_ASSERT that I can't seem to resolve. > > In server/request.h, I've added the following code: STOP! You should modify server/protocol.def instead.

RE: request.h: size of unnamed array is negative

2013-04-13 Thread Hugh McMaster
Am 13.04.2013 15:39, schrieb Hugh McMaster: > I've been adding a new handler to Wine's server. Unfortunately, I've run > into a problem with C_ASSERT that I can't seem to resolve. > > In server/request.h, I've added the following code: > > C_ASSERT( FIELD_OFFSET(struct get_desktop_workarea_requ

Re: request.h: size of unnamed array is negative

2013-04-13 Thread Charles Davis
On Apr 13, 2013, at 7:39 AM, Hugh McMaster wrote: > I've been adding a new handler to Wine's server. Unfortunately, I've run > into a problem with C_ASSERT that I can't seem to resolve. > > In server/request.h, I've added the following code: STOP! You should modify server/protocol.def instead.

Re: request.h: size of unnamed array is negative

2013-04-13 Thread André Hentschel
Am 13.04.2013 15:39, schrieb Hugh McMaster: > I've been adding a new handler to Wine's server. Unfortunately, I've run > into a problem with C_ASSERT that I can't seem to resolve. > > In server/request.h, I've added the following code: > > C_ASSERT( FIELD_OFFSET(struct get_desktop_workarea_requ

request.h: size of unnamed array is negative

2013-04-13 Thread Hugh McMaster
I've been adding a new handler to Wine's server. Unfortunately, I've run into a problem with C_ASSERT that I can't seem to resolve. In server/request.h, I've added the following code: C_ASSERT( FIELD_OFFSET(struct get_desktop_workarea_request, spi_workarea) == 16 ); C_ASSERT( sizeof(struct get