(no title)
LabMechanic | 2 years ago
https://jera.com/techinfo/jtns/jtn002
Consider using Clang-Tidy with
`-*,cert-*`
(Which disables all default options, and checks your code according to the Secure coding standard (CERT) ruleset.)Use Clang-Format as well. If you use Clang, consider `-Weverything -fsanitize=address,undefined` and disable options that you do not need. Consider using NMake or Make (or just write a simple script to automate building the stuff).
Here's a Google-esque style guide for C:
https://gist.github.com/davidzchen/9187878
At least, this is my approach.
LabMechanic|2 years ago