[Scummvm-devel] Header files.

Marcus Comstedt marcus at mc.pp.se
Sun Dec 21 11:17:00 CET 2003


Nicolas Noble <pixel at nobis-crew.org> writes:

> Actually, M$VC uses that header in order to precompile the header files
> (you know, all the templates and inlines). So it has a strange behavior
> concerning this file. You actually have to include it before any other
> include (not on the "first" line though)

Yes, this is what I keep hearing, but I've not yet heard any
detailed explanation of how this "strange behaviour" manifests
itself.  What, exactly, happens if you add

  #include "foobar.h"

where foobar.h is an empty file, before the include of "stdafx.h"?
I'm curious how anyone could make a C compiler that would break on
something like that.


  // Marcus






More information about the Scummvm-devel mailing list