commit | db00a3a81981cc2c793a06a504b9e07632d4c81f | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Mon Sep 20 16:09:18 2021 -0700 |
committer | Christopher Ferris <cferris@google.com> | Mon Sep 20 16:31:36 2021 -0700 |
tree | 65254728d8649b2e7c38d20c1b769dd68ea44f66 | |
parent | 46817ceaf3f25d2e317061e29dfdcd0048e2249c [diff] |
Add extra warnings. Add the -Wextra for all targets, but also add -Wconversion for the main code. There was a bug where readlink was being assigned to a size_t and this option would have detected that problem. So adding these options to avoid this in the future. Fix the miscompares found with the new options. Test: Compiles. Unit tests pass. Change-Id: I8dcae71ffc29275308e16d4178edab6dfc908206