- 9 When Compiling Software We Often Recommend Turning On As Many Warn Ings As Possible E G Wall In Gcc And Treatin 1 (40.8 KiB) Viewed 14 times
9. When compiling software we often recommend turning on as many warn- ings as possible (e.g. --Wall in GCC) and treatin
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
9. When compiling software we often recommend turning on as many warn- ings as possible (e.g. --Wall in GCC) and treatin
9. When compiling software we often recommend turning on as many warn- ings as possible (e.g. --Wall in GCC) and treating warnings as errors (e.g. --Werror in GCC) to help catch security issues. Very few OSs actu- ally mandate this from the compilers when building system software, how- ever. Debate the benefits and disadvatages of mandating using --Wall and --Wextra (or equivalents) when compiling software for an OS and justify your viewpoint.