Kurosu a écrit :
> Kurosu a écrit :
>   
>> I've spent some time "cleaning" the includes by using forward
>> declarations. This means that not all headers are automatically
>>     
>
> In order to continue this, I'm thinking of using uint32_t instead of
> Uint32 in include/action.{cpp,h}. However, this is C99, and I'm not sure
> all environments (*BSD) have it included as automatically as for gnu
> systems.

C++ has been defined before C99, so it is not entirely compatible. 
Anyway, it seems that you can force most of compilers to use C99 
extensions to C. From what I have understood, we already use some 
functions defined only in C99 such as std::isnan().

> The same would be done in graphic/polygon.h
>
> The reason is that SDL_stdinc.h isn't sufficient for windows, and
> therefore SDL.h is needed, bringing in a lot of includes only for
> integer type definitions.
>
> Should I do that (and risk breaking *BSD and maybe MacOSX) or do the
> SDL.h include ? I'd go with the first, and I'll go with it if I hear no
> complain within a week.
>   

What do FreeBSD and Apple maintainer think about that ? Will they able 
to continue to package in such case ?

Regards,

Matt (gentildemon)




_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev

Répondre à