From 112143a7ca549546969b11fe9478f53d6b9d2f8f Mon Sep 17 00:00:00 2001 From: Carl Pearson Date: Wed, 2 Mar 2022 06:53:46 -0700 Subject: [PATCH] . --- content/post/20220301-gcc-flags/index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/post/20220301-gcc-flags/index.md b/content/post/20220301-gcc-flags/index.md index 7d592c0..1becd92 100644 --- a/content/post/20220301-gcc-flags/index.md +++ b/content/post/20220301-gcc-flags/index.md @@ -44,7 +44,8 @@ C++ is hard; make it a little bit easier. The summaries are taken from https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html. The effectiveness of some of these options depends on various optmization passes. -You may also be able to selectively disable warnings for certain chunks of code (https://gcc.gnu.org/onlinedocs/gcc/Diagnostic-Pragmas.html) +You may also be able to selectively disable warnings for certain chunks of code (https://gcc.gnu.org/onlinedocs/gcc/Diagnostic-Pragmas.html). +This can be especially useful for header files with contents you can't control very well. ```c++ #pragma GCC diagnostic push