"Bo Peng" <[EMAIL PROTECTED]> writes: | Dear all, | | I am also looking at msvc pch. I find that our source code does not | really conform with the convention. Usually, we should have | | 1. pch.h (we have) | 2. pch.cpp with | #include <pch.h>
why? | 3. every source file | #include <pch.h> no. (pch should not be intrusive... bugger off msvc) | | Then, pch.cpp is compiled to get pch.pch, and pch.pch will be used for | other source files. | | Does it make sense to add pch.cpp (scons can do this), and #include <pch.h>? No. (IMHO) -- Lgb