Re: [AD] problems compiling latest CVS with MSVC

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Ok, I made a patch =)
Here it is

> > hi, compiling latest CVS with MSVC6 i get this error message
> >
> > src/rotate.c(74) : warning C4003: not enough actual parameters for macro
> > 'SCANLI
> > NE_DRAWER_GENERIC'
> > src/rotate.c(592) : error C2143: syntax error : missing ';' before '}'
> > make.exe[1]: *** [obj/msvc/alleg/rotate.obj] Error 2
> > make.exe[1]: Leaving directory `c:/allegro'
> > make.exe: *** [all] Error 2
> >
> >
> > seems like rotate likes to work in gcc but not in MSVC right now =)
>
> the proposed fix for the warning is to add a ';' as second parameter
(seems
> like
> MSVC doesnt like empty parameters
>
> and for the error to move the label skip_drawing:
> after the }
> (seems like MSVC doesnt like labels just before a '}' without any code in
> the middle
>
> i just run the exsprite test program and it didnt break anything
>
> if it is ok please somebody commit the changes to the CVS
>
> thanks
>

Attachment: rotate.c.dif
Description: video/dv



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/