Improve diagnostic handling: Add [-Wfoo] and -Werror-foo.
authorChristoph Mallon <christoph.mallon@gmx.de>
Tue, 21 Jun 2011 13:43:56 +0000 (15:43 +0200)
committerChristoph Mallon <christoph.mallon@gmx.de>
Tue, 21 Jun 2011 13:54:45 +0000 (15:54 +0200)
commitbb8544d38aaa4c716603a5d565c3ff3840454ffc
tree591196f85fe50714533da187450a990bf33d339a
parent6a2564eda2e886dba330454545f3c71e49be852b
Improve diagnostic handling: Add [-Wfoo] and -Werror-foo.

- Print the name of the warning switch at the end of each warning message, e.g. [-Wfoo]
- Every warning can now be turned into an error with -Werror-foo.
14 files changed:
adt/util.h
ast2firm.c
attribute.c
cparser.1
diagnostic.c
diagnostic.h
format_check.c
lexer.c
main.c
parser.c
preprocessor.c
type.c
warning.c
warning.h