mirror of
https://github.com/cpp-best-practices/cppbestpractices.git
synced 2025-12-17 11:14:35 +03:00
Add link for -Wnull-dereference
This commit is contained in:
@@ -73,7 +73,7 @@ These tools are all free and relatively easy to set up. Once they are set up you
|
|||||||
|
|
||||||
## Compilers
|
## Compilers
|
||||||
|
|
||||||
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.
|
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`](https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wnull-dereference-367) with GCC.
|
||||||
|
|
||||||
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.
|
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.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user