Add -Werror to -Wshadow-local and -Wshadow-compatible-local warning check
authorAaron Orenstein <aorenste@fb.com>
Tue, 21 Nov 2017 22:02:18 +0000 (14:02 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 21 Nov 2017 22:12:58 +0000 (14:12 -0800)
commitf9953b79c493c19f54ffe827275ddf21f00a7b58
tree9f5dc26760b914b8c1fda7cfb727564613ee43d0
parent8af0eef96d6b2a2d3ea4e5bd6cf6ccd841fca14b
Add -Werror to -Wshadow-local and -Wshadow-compatible-local warning check

Summary:
Without -Werror Apple LLVM will print a warning about -Wshadow-local
and -Wshadow-compatible-local but won't fail.  This causes problems for
downstream code which uses -Werror.

Reviewed By: meyering

Differential Revision: D6375771

fbshipit-source-id: 4ac3a4ff46bdb76f1f07b0c8ba479a7d404c8c9b
folly/configure.ac