Implement and document -Wshadow-local.
authorChristoph Mallon <christoph.mallon@gmx.de>
Wed, 15 Jun 2011 16:47:29 +0000 (18:47 +0200)
committerChristoph Mallon <christoph.mallon@gmx.de>
Wed, 15 Jun 2011 16:52:00 +0000 (18:52 +0200)
commit10f02d1bde320a2e519229e7b21b4b4741bf381a
tree91802fbcdd55ac86705f1c0047a3b9388cdfe4df
parent66285deadc46366723208fad0adcf28c5dc4f36d
Implement and document -Wshadow-local.

- This works like -Wshadow, but only warns if the shadowed declaration is not global.
- Activate it with -Wall.
- Demote -Wshadow to -Wextra.
cparser.1
parser.c
warning.c
warning.h