Andre Poenitz <[EMAIL PROTECTED]> writes: | On Mon, Jun 19, 2006 at 06:36:25PM +0200, Lars Gullik Bjønnes wrote: | > | stdafx.h contains all commonly used headers. msvc knows from a | > | compiler flag (or by default) that stdafx.h (stopping header) is | > | pre-processed and skip it. | > | > Use #pragma hdrstop instead. | | Looks like I have a really bad day. | | How is '#pragma hdrstop' less intrusive than '#include <pch.h>'
I thought that the pragma wan only needed in a pch.cpp file, not in all source files. -- Lgb