[hatari-devel] #include missing?!?

Eero Tamminen eerot at users.berlios.de
Fri Sep 24 21:23:38 CEST 2010


Hi,

On Friday 24 September 2010, Markus Fritze wrote:
> #include "screen.h"
>
> was missing in video.h to compile it on the Mac.

Although some Hatari includes include other headers, Hatari has a general
policy that header files are included by C-files.  Thomas can explain
why[1].

I.e. whatever C-file includes video.h should include screen.h too.


	- Eero

[1] Thomas, maybe you could add short coding Dos & Don'ts text
under doc/?



More information about the hatari-devel mailing list