8000 Merge pull request #59 from ColinH/master · windoro/cppbestpractices@bdf47cc · GitHub
[go: up one dir, main page]

Skip to content

Commit bdf47cc

Browse files
authored
Merge pull request cpp-best-practices#59 from ColinH/master
Note that optimization can improve warnings.
2 parents 0195f96 + c223333 commit bdf47cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

02-Use_the_Tools_Available.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ These tools are all free and relatively easy to set up. Once they are set up you
7373

7474
## Compilers
7575

76-
Use every available and reasonable set of warning options
76+
Use every available and reasonable set of warning options. Some warning options only work with optimizations enabled, or work better the higher the chosen level of optimization is, for example `-Wnull-dereference` with GCC.
7777

7878
You should use as many compilers as you can for your platform(s). Each compiler implements the standard slightly differently and supporting multiple will help ensure the most portable, most reliable code.
7979

0 commit comments

Comments
 (0)
0