Skip to content

Commit 8553693

Browse files
committed
Improve comments about compiler warnings
1 parent 2aab4e8 commit 8553693

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/modules/DevelUtilities.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ function (configure_development_warnings)
3939
-Wsign-conversion # warn on sign conversions
4040
-Wnull-dereference # warn if a null dereference is detected
4141
-Wdouble-promotion # warn if float is implicit promoted to double
42-
-Wformat=2 # warn on security issues around functions that format output (ie printf)
42+
-Wformat=2 # warn on security issues around functions that format output (e.g. printf)
4343
-Wno-pedantic # warn NOT if non-standard C++ is used (some vendor extensions are very useful)
4444
-Wno-missing-field-initializers # warn NOT about missing field initializers
45-
-Wno-useless-cast # warn NOT about useless cases (this is sometimes very useful in templates)
45+
-Wno-useless-cast # warn NOT about useless casts (those are sometimes very useful in templates)
4646
-Wno-unused-const-variable # warn NOT about unused constants (usually used in other compile unit)
4747
-Wno-unknown-warning-option # warn NOT about unknown warning options (depending on compiler/version not all are
4848
# available)

0 commit comments

Comments
 (0)