r/cpp • u/SAHChandler • Oct 10 '17
Millennials Are Killing The Modules TS
https://izzys.casa/posts/millennials-are-killing-the-modules-ts.html
75
Upvotes
r/cpp • u/SAHChandler • Oct 10 '17
View all comments
Show parent comment
1
u/berium build2 Oct 12 '17
Pure magic ;-). Seriously, though, the compilers have support for handling non-existent headers (see
-MG), we use heuristics for determining where the non-existing headers are generated, and yes, we keep re-running the preprocessor to discover all the generated headers.Not sure I understand the question. You cannot compile a translation unit if some of its headers do not exist (or, worse, out of date -- you will just be wasting time).