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.

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.

-- 
Best regards,
Kurosu

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

Répondre à