On Mon, Jun 19, 2006 at 10:43:20AM -0500, Bo Peng wrote:
> >and how will that change if you include pch.h in all the source files,
> >excepti being overly intrusive? or having some files compiled iwth pch
> >and some not...=?
> 
> I do not think this is a matter of intrusiveness.
> 
> By definition, PCH separates commonly used headers from all source
> files, compile them separately to speed up compiling. It is then logic
> to put pch.h into each source file and remove duplicate headers
> accordingly.
> 
> Current lyx' approach is peculiar in that pch.h is not included, and
> does not necessarily include commonly used headers. In pch mode,
> --include=pch.h is passed. This will *not* work with msvc since msvc
> scans source file for a stopping header file like stdafx.h. (Of
> course, bugger off msvc)

Hm?

Care to explain a bit more?

Andre'

Reply via email to