diff options
author | Christoph Mallon <christoph.mallon@gmx.de> | 2008-11-30 14:56:42 +0100 |
---|---|---|
committer | Christoph Mallon <christoph.mallon@gmx.de> | 2008-11-30 14:56:42 +0100 |
commit | 0ab7d8bb95d84dd2d483afffe91141427664bb6e (patch) | |
tree | e9d29572b2cc93dcf5e3b8afceb5a43e954d8adf /cparser.1 | |
parent | c6083a78b21bc4e8a9bed0fe21b042b873e23fc7 (diff) |
Fix typo, document -Wl, and -Wp,.
[r24157]
Diffstat (limited to 'cparser.1')
-rw-r--r-- | cparser.1 | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -25,6 +25,8 @@ .Op Fl l Ar library .Op Fl o Ar outfile .Op Fl x Ar language +.Op Fl Wl, Ns Ar option +.Op Fl Wp, Ns Ar option .Ar .Sh DESCRIPTION .Nm @@ -128,7 +130,7 @@ In particular these are .Fl Wunused-variable . .It Fl Wcast-qual Warn whenever a pointer cast removes qualifiers from the pointed-to type, e.g. casting a const char* to char*. -.It Fl char-subscripts +.It Fl Wchar-subscripts Warn about using an expression of type char as array subscript, e.g. char c; arr[c]. .It Fl Wdeclaration-after-statement Warn about mixing declarations and statements, which is not allowed prior to C99. @@ -249,6 +251,14 @@ C++ file .It Cm none Revert to auto-detection .El +.It Fl Wl, Ns Ar option +Pass +.Ar option +to the linker. +.It Fl Wp, Ns Ar option +Pass +.Ar option +to the preprocessor. .El .Sh SEE ALSO .Xr gcc 1 , |