mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-24 12:51:04 +00:00
manpage: -Wreserved-names, -funtyped-nil, -fpermissive
This commit is contained in:
parent
77d454725a
commit
dae1291b37
1 changed files with 16 additions and 0 deletions
16
doc/gmqcc.1
16
doc/gmqcc.1
|
@ -258,6 +258,9 @@ You won't need this.
|
||||||
Warn on an unknown attribute. The warning will inlclude only the first
|
Warn on an unknown attribute. The warning will inlclude only the first
|
||||||
token inside the enclosing attribute-brackets. This may change when
|
token inside the enclosing attribute-brackets. This may change when
|
||||||
the actual attribute syntax is better defined.
|
the actual attribute syntax is better defined.
|
||||||
|
.TP
|
||||||
|
.B -Wreserved-names
|
||||||
|
Warn when using reserved names such as 'nil'.
|
||||||
.SH COMPILE FLAGS
|
.SH COMPILE FLAGS
|
||||||
.TP
|
.TP
|
||||||
.B -fdarkplaces-string-table-bug
|
.B -fdarkplaces-string-table-bug
|
||||||
|
@ -390,6 +393,19 @@ for :outer (i = 0; i < n; ++i) {
|
||||||
}
|
}
|
||||||
.fi
|
.fi
|
||||||
.in
|
.in
|
||||||
|
.TP
|
||||||
|
.B -funtyped-nil
|
||||||
|
Adds a global named 'nil' which is of no type and can be assigned to
|
||||||
|
anything. No typechecking will be performed on assignments. Assigning
|
||||||
|
to it is forbidden, using it in any other kind of expression is also
|
||||||
|
not allowed.
|
||||||
|
.TP
|
||||||
|
.B -fpermissive
|
||||||
|
Various effects, usually to weaken some conditions.
|
||||||
|
.RS
|
||||||
|
.IP "with -funtyped-nil"
|
||||||
|
Allow local variables named 'nil'. (This will not allow declaring a
|
||||||
|
global of that name.)
|
||||||
.SH OPTIMIZATIONS
|
.SH OPTIMIZATIONS
|
||||||
.TP
|
.TP
|
||||||
.B -Opeephole
|
.B -Opeephole
|
||||||
|
|
Loading…
Reference in a new issue