5 Jan
2015
5 Jan
'15
1:01 p.m.
Andrey Semashev wrote:
Yes, IIRC, Peter suggested to add fake #includes to the code and I didn't like it.
My suggestion still stands. We had this problem with Boost.Config, John added the includes in an #if 0 section instead of not liking it for weeks, and we haven't had a problem since. Sure, you could sweep the problem under the carpet by always generating all links, but the fact that any dependency scanners (such as boostdep and build systems) will not be aware of your dependencies will still remain.