Open mzuzek opened 1 year ago
Add -Wlogical-op-parentheses to CI build options.
-Wlogical-op-parentheses
Other commonly used flags for consideration:
-Werror
-Wall
-Wextra
-pedantic
-Wunused
-Wunused-parameter
-Wunused-function
-Wunused-private-field
-Wuninitialized
-Wshadow
-Wsign-compare
-Wtype-limits
-Wignored-qualifiers
-Wempty-body
See more at https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
Add
-Wlogical-op-parentheses
to CI build options.Other commonly used flags for consideration:
-Werror
(warnings as errors - any breaks build)-Wall
,-Wextra
,-pedantic
-Wunused
,-Wunused-parameter
,-Wunused-function
,-Wunused-private-field
-Wuninitialized
-Wshadow
-Wsign-compare
-Wtype-limits
-Wignored-qualifiers
-Wempty-body
See more at https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html