Re: [xmoto-dev] Getting SDL_gfx to work with visual c++

[ Thread Index | Date Index | More Archives ]

On 1/10/07, Rasmus Neckelmann <neckelmann@xxxxxxxxx> wrote:

first of all I'm very impressed about all those things which have
happened to xmoto lately :)

I was trying to compile xmoto with sdl_gfx enabled on my windows
machine, and stumbled into the following problem:

On line 315-316 in VDrawSDLgfx.cpp:

Sint16 x[size];
Sint16 y[size];

Is that standard C++ and not just a GCC extension? Well, under all
circumstances it won't compile in visual c++. My suggestion would be
to either used a large fixed value for 'size', or use dynamic
allocation instead.

I have changed this yesterday, can you give it an other try?


Mail converted by MHonArc 2.6.19+