summaryrefslogtreecommitdiffhomepage
path: root/cparser.1
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2016-01-22 21:36:23 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2016-01-22 21:42:23 +0100
commit555b1ca1e4a4f4e13e3dff0f77d5fa51e99f7547 (patch)
treefe6bdf4d6a6dd16a89ba516d0a18d1b2cd041c49 /cparser.1
parent00d8bb4910682833ebe6e57de88911ccdf47e5eb (diff)
Implement '-Wcpp'.
Diffstat (limited to 'cparser.1')
-rw-r--r--cparser.15
1 files changed, 4 insertions, 1 deletions
diff --git a/cparser.1 b/cparser.1
index 0456c42..d1eb3fc 100644
--- a/cparser.1
+++ b/cparser.1
@@ -1,5 +1,5 @@
.\" Please adjust this date whenever revising the manpage.
-.Dd January 15, 2016
+.Dd January 22, 2016
.Dt CPARSER 1
.Sh NAME
.Nm cparser
@@ -157,6 +157,9 @@ In particular these are
.No Warn whenever a pointer cast removes qualifiers from the pointed-to type, e.g. casting a So const char* Sc to Sq char* .
.It Fl Wchar-subscripts
.No Warn about using an expression of type char as array subscript, e.g. Sq char\ c; arr[c] .
+.It Fl Wcpp
+.No Show warning messages emitted by So #warning Sc directives.
+Default is on.
.It Fl Wdeclaration-after-statement
Warn about mixing declarations and statements, which is not allowed prior to C99.
.It Fl Wdiv-by-zero