Skip to content

Commit 6f0cb53

Browse files
david-a-wheelerthomasnyman
authored andcommitted
Add missing closing parenthesis
Signed-off-by: David A. Wheeler <[email protected]>
1 parent 1f2964d commit 6f0cb53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Compiler-Hardening-Guides/Compiler-Options-Hardening-Guide-for-C-and-C++.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Some organizations require selecting hardening rules. For example, the US govern
113113
How you apply this guide depends on your circumstances:
114114

115115
- New or nearly-new project ("Green field"): If you're starting a new project, enable everything as soon as you can, preferably before any code is written for it. That way, you'll be immediately notified of any problematic constructs and avoid it in the future.
116-
- Existing non-trivial project ("Brown field"): It's usually impractical to enable all options at once. First, the number of warnings will probably be overwhelming. Second, while the run-time protection mechanisms will usually not cause correctly-working programs to fail, it's still possible for them to cause problems (e.g., due to increased binary size). Instead, enable one or a few options at a time, assess their impact, resolve any problems, and repeat over time. Some flags (like [`-Wall`](#-Wall) are groups of other flags; consider breaking them down and enabling a few of those specific flags at a time.
116+
- Existing non-trivial project ("Brown field"): It's usually impractical to enable all options at once. First, the number of warnings will probably be overwhelming. Second, while the run-time protection mechanisms will usually not cause correctly-working programs to fail, it's still possible for them to cause problems (e.g., due to increased binary size). Instead, enable one or a few options at a time, assess their impact, resolve any problems, and repeat over time. Some flags (like [`-Wall`](#-Wall)) are groups of other flags; consider breaking them down and enabling a few of those specific flags at a time.
117117

118118
Applications should work towards compiling warning-free. This takes time, but warnings indicate a potential problem. Once done, any new warning indicates a potential problem.
119119

0 commit comments

Comments
 (0)