[airstrike] Windows problems

Eismann Peter peter.eismann at siemens.com
Fri Jun 4 07:31:45 EDT 2004

Hello Windows Porters,

Maybe you should compile Airstrike with compiler setting /TC (Compile as C Code)

- Peter 

-----Original Message-----
From: Ulf Ekström
To: airstrike at icculus.org
Sent: 6/4/04 12:54 PM
Subject: Re: [airstrike] Windows problems

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
> 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

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 :-)


More information about the airstrike mailing list