On 31/01/2010 16:39, Pedro Alves wrote:
> These look pretty busted though:
>
> --- /opt/mingw32ce-0.59/arm-mingw32ce/include/windef.h 2010-01-31
> 15:10:18.000000000 +0000
> +++ /opt/mingw32ce-0.59/lib/gcc/arm-mingw32ce/4.4.0/include-fixed/windef.h
> 2010-01-31 15:21:19.000000000 +0000
> :
> :
> -#ifndef WIN32
> +#ifndef __WIN32__
> #define WIN32
> #endif
This seems a strange thing to have in the first place; if WIN32 isn't
defined when you try and include a windows header, you're not compiling on a
windows system and should error, shouldn't you? Might be simplest to remove
that clause from windef.h altogether, given the compiler always defines WIN32.
> -#ifndef _fastcall
> +#ifndef __fastcall__
> #define _fastcall __attribute__((fastcall))
> #endif
Likewise this one is built into the compiler's predefines. Errm, only
incorrectly so:
> $ arm-mingw32ce-gcc -dM -E - < /dev/null | grep fast
> #define _fastcall __attribute__((__cdecl__))
> #define __fastcall __attribute__((__cdecl__))
>
> $
LOL, that made me do a double-take. Err? Is this maybe deliberate because
(WAG) fastcall doesn't mean anything on CE or some such reason?
cheers,
DaveK
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Cegcc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel