4 ms·
Right. Make is mostly a kludge around the nonexistent module system in C and C++. It's so bad (specifically due to the way file preprocessing works), that you
by humanrebar 13y ago
Right. Make is mostly a kludge around the nonexistent module system in C and C++.
It's so bad (specifically due to the way file preprocessing works), that you need to have large parts of a compiler to accurately determine what the dependencies of a source file are.
This is why a decent module system should be the top priority for C++17, though it doesn't look likely so far.
- conradev 13y agoHave you seen what Clang is doing[1]? [1] http://clang.llvm.org/docs/Modules.html http://clang.llvm.org/docs/Modules.html