Hans-Joachim Lankenau wrote:
[...]
another point that worries me is the different list of includes
depending on using pch or not.

a very simple result is that developers using pch will break the build
of those not using pch without being able to notice if new includes are
required that already reside in the precompiled file. any c/c++ expert
may be able to construct more elaborate error cases caused by this...

What is worse, there can be cases where both versions build fine but behave differently (e.g., h1.hxx declares f(Base*), h2.hxx declares f(Derived*), u.cxx calls f with a Derived* and without pch only sees h1.hxx but with pch sees both h1.hxx and h2.hxx).

-Stephan

[...]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to