Hello all,

I've spent some time "cleaning" the includes by using forward
declarations. This means that not all headers are automatically
included, and that the .cpp should include the appropriate header if it
ever uses (by allocation/destruction or use of a method) something known
through a forward declaration.

This may be troublesome, but that what I add to use some time ago to fix
a bug in Windows.

It generally has multiple benefits (compile time, dependency rebuilding,
...) except of course bothering the developer, that now has to do the
includes manually.

There are probably things that I missed because of #ifdef's, so don't be
surprised if debug or some particular setup doesn't build anymore.

Best regards,
-- 
Kurosu

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

Répondre à