4 ms·
Most sensible Compiler flags aren't enabled by default... I keep a list of arguments for gcc to make things better, but even then you'll also wanna use a static
by juliangmp 9mo ago
Most sensible Compiler flags aren't enabled by default... I keep a list of arguments for gcc to make things better, but even then you'll also wanna use a static analysis tool like clang-tidy
- teraro 9mo agoWould you mind sharing your list?
- juliangmp 9mo agoSure, I put quickly put them into a small markdown file. At my job we have a cmake interface target that handles these (along with some version checks and project specific stuff), but I can't publish that of course. I might put these into a cmake file at some point, not sure. https://codeberg.org/JulianGmp/sane-args-cpp https://codeberg.org/JulianGmp/sane-args-cpp