SVN doesn't compile for wince

Hi,

When trying to compile SVN for wince I get :

SDL_dibevents.c
…\src\video\windib\SDL_dibevents.c(292) : warning C4244: ‘function’ :
conversion from ‘LONG’ to ‘Sint16’, possible loss of data
…\src\video\windib\SDL_dibevents.c(292) : warning C4244: ‘function’ :
conversion from ‘LONG’ to ‘Sint16’, possible loss of data
…\src\video\windib\SDL_dibevents.c(298) : warning C4013:
‘GapiTransform’ undefined; assuming extern returning int
…\src\video\windib\SDL_dibevents.c(298) : error C2065: ‘this’ :
undeclared identifier
…\src\video\windib\SDL_dibevents.c(298) : error C2223: left of
’->hidden’ must point to struct/union
…\src\video\windib\SDL_dibevents.c(298) : error C2065: ‘this’ :
undeclared identifier
…\src\video\windib\SDL_dibevents.c(298) : error C2223: left of
’->hidden’ must point to struct/union
…\src\video\windib\SDL_dibevents.c(300) : warning C4244: ‘function’ :
conversion from ‘LONG’ to ‘Sint16’, possible loss of data
…\src\video\windib\SDL_dibevents.c(300) : warning C4244: ‘function’ :
conversion from ‘LONG’ to ‘Sint16’, possible loss of data

this is not defined could you fix it ?

Thanks

Hi,

the patch applied for Revision 4483 was seemingly not checked for side
effects.
It broke the WinCE build.
The attached patch should fix these problems. I’m not using SDL 1.2 on
CE anymore, and therefore haven’t tested the patch… but at least it
compiles :wink:

Regards Stefan

Hi,

When trying to compile SVN for wince I get :

SDL_dibevents.c
…\src\video\windib\SDL_dibevents.c(292) : warning C4244: ‘function’ :
conversion from ‘LONG’ to ‘Sint16’, possible loss of data
…\src\video\windib\SDL_dibevents.c(292) : warning C4244: ‘function’ :
conversion from ‘LONG’ to ‘Sint16’, possible loss of data
…\src\video\windib\SDL_dibevents.c(298) : warning C4013:
‘GapiTransform’ undefined; assuming extern returning int
…\src\video\windib\SDL_dibevents.c(298) : error C2065: ‘this’ :
undeclared identifier
…\src\video\windib\SDL_dibevents.c(298) : error C2223: left of
’->hidden’ must point to struct/union
…\src\video\windib\SDL_dibevents.c(298) : error C2065: ‘this’ :
undeclared identifier
…\src\video\windib\SDL_dibevents.c(298) : error C2223: left of
’->hidden’ must point to struct/union
…\src\video\windib\SDL_dibevents.c(300) : warning C4244: ‘function’ :
conversion from ‘LONG’ to ‘Sint16’, possible loss of data
…\src\video\windib\SDL_dibevents.c(300) : warning C4244: ‘function’ :
conversion from ‘LONG’ to ‘Sint16’, possible loss of data

this is not defined could you fix it ?

Thanks

-------------- next part --------------
A non-text attachment was scrubbed…
Name: GapiFixes4484.patch
Type: text/x-patch
Size: 6535 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20090424/5936a66b/attachment.bin

Do you mean you are using SDL 1.3 ?
In this case I might do the same ?

Vincent R. schrieb:

Do you mean you are using SDL 1.3 ?
In this case I might do the same ?

The current 1.3 Version of SDL won’t do anything on WIN CE (The WinCE
code wasn’t touched for roughly 2 years).
I’ve rewritten the GAPI/RAWFRAMEBUFFER backend and the DirectX backend
for WinCE, but there are still some missing parts…

I’ll try to get this published soon.

Regards
Stefan

The current 1.3 Version of SDL won’t do anything on WIN CE (The WinCE
code wasn’t touched for roughly 2 years).
I’ve rewritten the GAPI/RAWFRAMEBUFFER backend and the DirectX backend
for WinCE, but there are still some missing parts…

I’ll try to get this published soon.

Yay, thanks! :slight_smile:

See ya,
-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

Could you please fix SVN-1.2 because first it doesn’t compile for wince,
someone gave me
a patch but I don’t think it has been commited.
And could you please mouse handling for wince stiill in SVN-1.2 because it
doesn’t work anymore.

Problem has something to do with src/video/wincommon/SDL_sysevents.c,
because I always get the same
coordinates :x = 0, y = 16 wherever I click on screen.

Problem is located in :

case WM_MOUSEMOVE: {

I tried to mix SVN-1.2 and SVN-1.2.13 but it doesn’t work very well when I
move around the screen.

Or maybe you don’t want people to use SVN-1.2 and in this case everything
’normal …
It depends if one day you plan to release a 1.2.14 …

Could you please fix SVN-1.2 because first it doesn’t compile for wince,
someone gave me
a patch but I don’t think it has been commited.

I just committed a patch, I think it’s the one you’re talking about.

And could you please mouse handling for wince stiill in SVN-1.2 because it
doesn’t work anymore.

I don’t have a wince environment, so can you send me any patches needed?

Thanks!
-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

No because it doesn’t work for now…
Are you working on windows or linux because if you are on windows you could
test
with standalone emulator.
If you are on linux I could also give you an old device if it can help
wince support ;-)On Thu, 07 May 2009 06:08:36 -0700, Sam Lantinga wrote:

Could you please fix SVN-1.2 because first it doesn’t compile for wince,
someone gave me
a patch but I don’t think it has been commited.

I just committed a patch, I think it’s the one you’re talking about.

And could you please mouse handling for wince stiill in SVN-1.2 because
it
doesn’t work anymore.

I don’t have a wince environment, so can you send me any patches needed?

Thanks!

I am stupid, if you cannot build SDL you won’t be able to test.
So first tell me on what platform you are working on and I will find you a
solution.
You could for instance use cegcc to build wince binaries on windows or
linux.
If you have Visual Studio you only have to download some SDKsOn Thu, 07 May 2009 06:08:36 -0700, Sam Lantinga wrote:

Could you please fix SVN-1.2 because first it doesn’t compile for wince,
someone gave me
a patch but I don’t think it has been commited.

I just committed a patch, I think it’s the one you’re talking about.

And could you please mouse handling for wince stiill in SVN-1.2 because
it
doesn’t work anymore.

I don’t have a wince environment, so can you send me any patches needed?

Thanks!
-Sam Lantinga, Founder and President, Galaxy Gameworks LLC