The Watermelon schreef:
> On 1/7/07, *Giel van Schijndel* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
> wrote:
>
>     Author: muggenhor
>     Date: Mon Jan  8 00:50:30 2007
>     New Revision: 611
>
>     URL: http://svn.gna.org/viewcvs/warzone?rev=611&view=rev
>     <http://svn.gna.org/viewcvs/warzone?rev=611&view=rev>
>     Log:
>     * prepended casts to malloc calls (using typeof() style)
>
>
> I think this one breaks non-C99 compiler like MSVC,though I made a
> temporary workaround by adding the following lines to mem.h:
>  
> #ifndef typeof
> #define typeof(type)  void*
> #endif
Yes, just looked it up, my bad it seems in fact to be a GNU extension to
C99 (either that or GCC is the only compiler to implement it), it does
exist natively in C++ though.

Anyway, fixed it in r612.

-- 
Giel

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to