Re:C++ Modules Might Be Dead-On-Arrival
by ginko on Monday January 28, 2019 @07:58AM
(#19017080)
The preprocessor is a self-contained binary. The build system can just pipe through it.
[ Parent
| on HN ]
The C and I presume C++ standard has been very carefully avoiding the idea of a preprocessor being separate at all. The standard was very carefully worded to prevent that being necessary, because most C compilers do not have a separate preprocessor. It is only Unix heritage compilers that really have one, and even they're not consistent about it.
Re:C++ Modules Might Be Dead-On-Arrival
by ZirconiumX on Tuesday January 29, 2019 @12:38PM
(#19028202)
I'm curious how you plan to detect dependencies from a file by piping it through a command that removes those dependencies.