From: Wolfgang (Blub) Bumiller Date: Tue, 18 Dec 2012 13:21:01 +0000 (+0100) Subject: Add included -fs and -Ws to for each -std in the manpage X-Git-Tag: 0.1.9~58 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=82e0073433ef96b4d9092338266071678a8dfc7a;p=xonotic%2Fgmqcc.git Add included -fs and -Ws to for each -std in the manpage --- diff --git a/doc/gmqcc.1 b/doc/gmqcc.1 index 0bc0160..4e5d516 100644 --- a/doc/gmqcc.1 +++ b/doc/gmqcc.1 @@ -50,11 +50,6 @@ be overwritten. List all possible optimizations and the optimization level they're activated at. .TP -.BI "-std=" standard -Use the specified standard for parsing QC code. The following standards -are available: -.IR gmqcc , qcc , fteqcc -.TP .BI -W warning "\fR, " "" -Wno- warning Enable or disable a warning. .TP @@ -77,8 +72,40 @@ Disables colored output .BI "-redirout=" file Redirects standard output to a \fIfile\fR .TP -.BI "-rediterr=" file +.BI "-redirerr=" file Redirects standard error to a \fIfile\fR +.TP +.BI "-std=" standard +Use the specified standard for parsing QC code. The following standards +are available: +.IR gmqcc , qcc , fteqcc +Selecting a standard also implies some -f options and behaves as if +those options have been written right after the -std option, meaning +if you changed them before the -std option, you're now overwriting +them. +.sp +.BR -std=gmqcc " includes:" +.in +4 +-fadjust-vector-fields +.in +.BR -std=qcc " includes:" +.in +4 +.nf +-fassign-function-types +-f\fIno-\fRadjust-vector-fields +.fi +.in +.BR -std=fteqcc " includes:" +.in +4 +.nf +-fftepp +-ftranslatable-strings +-fassign-function-types +-Wternary-precedence +-f\fIno-\fRadjust-vector-fields +-f\fIno-\fRcorrect-ternary +.fi +.in .SH Warnings .TP .B -Wunused-variable