configure.ac: check for -Wshadow-local and -Wshadow-compatible-local
Summary: Add a configure-time check for whether -Wshadow-local and -Wshadow-compatible-local are supported. If so, arrange to define HAVE_SHADOW_LOCAL_WARNINGS. In Portability.h, use that new symbol to choose whether to define FOLLY_GCC_DISABLE_NEW_SHADOW_WARNINGS, which used pragmas to disable those new warnings. Differential Revision: D4041696 fbshipit-source-id: 520ee88ae55147a13d0a045aca7d86567a8da99d
Showing
Please register or sign in to comment