|
|
|
|
|
by ReactiveJelly
1626 days ago
|
|
C++ makes me miss `cargo check`. Sure, Rust compiles slower, but in C++ I have to wait on a slow compile just to find something dumb like a typo. And it doesn't even have the borrow checker. I have to make an exe that doesn't work to see if I made one typo. And then the errors are so bad. |
|
https://clang.llvm.org/docs/ClangCheck.html
you will need a Compilation Database (CDB) in a compile_commands.json file. I know CMake knows how to generate one, but the fact that other build systems don't shows how fragmented and user- unfriendly the cpp ecosystem is.