aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/declaration-after-statement-default.c
AgeCommit message (Collapse)AuthorFilesLines
2008-04-21Add -Wno-declaration-after-statementGeoff Johnstone1-0/+9
This adds -W[no-]declaration-after-statement, which makes warnings about declarations after statements a command-line option. (The code to implement the warning was already in there via a #define; the patch just exposes it at runtime.) Rationale: C99 allows them, C89 doesn't. Signed-off-by: Geoff Johnstone <geoff.johnstone@googlemail.com>