Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cmake: Add Wshadow to default gcc builds.
Warn whenever a local variable or type declaration shadows another variable, parameter, or type. This will make sure (hopefully) that #611 don't come back. tested with: - cmake 3.13.4 & gcc 8.3.0 (debian) - cmake 3.13.4 & gcc 8.3.0 (Raspbian) - cmake 2.8.12.2 & gcc 4.8.2 (Zynq) Signed-off-by: Robin Getz <[email protected]>
- Loading branch information