commit | 824ba72442d1c341a87328fbce50e9dc3104b96f | [log] [download] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg2@elzevir.fr> | Thu Aug 27 23:00:49 2015 +0200 |
committer | Manuel Pégourié-Gonnard <mpg2@elzevir.fr> | Mon Aug 31 10:34:27 2015 +0200 |
tree | e5dd2a8a01e32c76cc7bf0fe6473bba5bbd177c5 | |
parent | cf9ab63863468621ef742c7eef7fb6e7d08c806f [diff] |
Only use -Wshadow with GCC 4.8 or higher Before that, we get useless warnings about local variables shadowing extern functions, which means we can't have a local variable called index when we include string.h. https://lkml.org/lkml/2006/11/28/239 https://gcc.gnu.org/gcc-4.8/changes.html