This commit is contained in:
Edward Kim
2018-07-27 09:54:42 -07:00
committed by GitHub
parent e1aba52b59
commit 86b4e0aad5

View File

@@ -108,7 +108,7 @@ You should use as many compilers as you can for your platform(s). Each compiler
* `-Wpedantic` warn if non-standard C++ is used * `-Wpedantic` warn if non-standard C++ is used
* `-Wconversion` warn on type conversions that may lose data * `-Wconversion` warn on type conversions that may lose data
* `-Wsign-conversion` warn on sign conversions * `-Wsign-conversion` warn on sign conversions
* `-Wmisleading-indentation` warn if identation implies blocks where blocks do not exist * `-Wmisleading-indentation` warn if indentation implies blocks where blocks do not exist
* `-Wduplicated-cond` warn if `if` / `else` chain has duplicated conditions * `-Wduplicated-cond` warn if `if` / `else` chain has duplicated conditions
* `-Wduplicated-branches` warn if `if` / `else` branches have duplicated code * `-Wduplicated-branches` warn if `if` / `else` branches have duplicated code
* `-Wlogical-op` warn about logical operations being used where bitwise were probably wanted * `-Wlogical-op` warn about logical operations being used where bitwise were probably wanted