Re:C and C++ Prioritize Performance over Correctness
by deadletters on Friday August 18, 2023 @02:58PM
(#37180459)
There are a lot of warning and error options. Turn the guiderails and sanitizers on during development and testing. Turn the optimizations on when you ship.
Check out: -wall -werror https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html