3 ms·
Hard problems for C++ compilers are keeping track of where a piece of code originated and providing good diagnostics in code expanded from macros. Can warp help
by pmr_ 13y ago
Hard problems for C++ compilers are keeping track of where a piece of code originated and providing good diagnostics in code expanded from macros. Can warp help with this or was speed such a paramount goal that the rest of the tool-chain cannot provide good diagnostics as soon as macros are involved?
- reubenmorais 13y agoFWIW, Clang can (and does) help you with that. See "Automatic macro expansion" in http://clang.llvm.org/diagnostics.html http://clang.llvm.org/diagnostics.html
- WalterBright 13y agoWarp doesn't go beyond inserting linemarker records so that GCC can identify source(line) for subsequent error messages.