[airstrike] Windows problems

Ulf Ekström ulfek at ifm.liu.se
Fri Jun 4 06:54:49 EDT 2004


On Fri, Jun 04, 2004 at 10:13:04AM +0200, machiel at bsdfreaks.nl wrote:
> I have downloaded the new CVS of airstike. But the last changes after my
> last CVS update generated 215 Build Errors on the Windows platform.

Please state exactly which compiler you are using, it makes it easier
to diagnose the problems.

> C:\cvs\airstrike\src\core\animation.c(52) : error C2440: '=' : cannot
> convert from 'void *' to 'struct animation *'
>         Conversion from 'void*' to pointer to non-'void' requires an
> explicit cast

Not in C.

> Also the array problems are back.
> 
> C:\cvs\airstrike\src\engine\array.h(6) : error C2580: redefinition of
> class name 'array'
>         C:\cvs\airstrike\src\engine\array.h(6) : see declaration of 'array'

I find it a bit strange that the compiler is saying "class name" since C has no
concept of classes.
 
> p.s. I use the C compiler, not the C++ compiler.

I don't believe you :-)

Ulf



More information about the airstrike mailing list