mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
More consistent man page descriptions for warning diagnostics
This commit is contained in:
@@ -344,9 +344,9 @@ Enables literally every warning.
|
|||||||
.Pp
|
.Pp
|
||||||
The following warnings are actual warning flags; with each description, the corresponding warning flag is included.
|
The following warnings are actual warning flags; with each description, the corresponding warning flag is included.
|
||||||
Note that each of these flags also has a negation (for example,
|
Note that each of these flags also has a negation (for example,
|
||||||
.Fl Wcharmap-redef
|
.Fl Wobsolete
|
||||||
enables the warning that
|
enables the warning that
|
||||||
.Fl Wno-charmap-redef
|
.Fl Wno-obsolete
|
||||||
disables; and
|
disables; and
|
||||||
.Fl Wall
|
.Fl Wall
|
||||||
enables every warning that
|
enables every warning that
|
||||||
|
|||||||
@@ -212,7 +212,7 @@ to prevent turning all warnings into errors.
|
|||||||
.It Fl Werror=
|
.It Fl Werror=
|
||||||
Make the specified warning or meta warning into an error.
|
Make the specified warning or meta warning into an error.
|
||||||
A warning's name is appended
|
A warning's name is appended
|
||||||
.Pq example: Fl Werror=overwrite ,
|
.Pq example: Fl Werror=obsolete ,
|
||||||
and this warning is implicitly enabled and turned into an error.
|
and this warning is implicitly enabled and turned into an error.
|
||||||
This can be negated as
|
This can be negated as
|
||||||
.Fl Wno-error=
|
.Fl Wno-error=
|
||||||
@@ -234,10 +234,10 @@ Enables literally every warning.
|
|||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
The following warnings are actual warning flags; with each description, the corresponding warning flag is included.
|
The following warnings are actual warning flags; with each description, the corresponding warning flag is included.
|
||||||
Note that each of these flag also has a negation (for example,
|
Note that each of these flags also has a negation (for example,
|
||||||
.Fl Wtruncation
|
.Fl Wobsolete
|
||||||
enables the warning that
|
enables the warning that
|
||||||
.Fl Wno-truncation
|
.Fl Wno-obsolete
|
||||||
disables; and
|
disables; and
|
||||||
.Fl Wall
|
.Fl Wall
|
||||||
enables every warning that
|
enables every warning that
|
||||||
|
|||||||
@@ -769,7 +769,7 @@ to prevent turning all warnings into errors.
|
|||||||
.It Fl Werror=
|
.It Fl Werror=
|
||||||
Make the specified warning or meta warning into an error.
|
Make the specified warning or meta warning into an error.
|
||||||
A warning's name is appended
|
A warning's name is appended
|
||||||
.Pq example: Fl Werror=embedded ,
|
.Pq example: Fl Werror=obsolete ,
|
||||||
and this warning is implicitly enabled and turned into an error.
|
and this warning is implicitly enabled and turned into an error.
|
||||||
This can be negated as
|
This can be negated as
|
||||||
.Fl Wno-error=
|
.Fl Wno-error=
|
||||||
@@ -791,10 +791,10 @@ Enables literally every warning.
|
|||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
The following warnings are actual warning flags; with each description, the corresponding warning flag is included.
|
The following warnings are actual warning flags; with each description, the corresponding warning flag is included.
|
||||||
Note that each of these flag also has a negation (for example,
|
Note that each of these flags also has a negation (for example,
|
||||||
.Fl Wtrim-nonempty
|
.Fl Wobsolete
|
||||||
enables the warning that
|
enables the warning that
|
||||||
.Fl Wno-trim-nonempty
|
.Fl Wno-obsolete
|
||||||
disables; and
|
disables; and
|
||||||
.Fl Wall
|
.Fl Wall
|
||||||
enables every warning that
|
enables every warning that
|
||||||
|
|||||||
@@ -258,7 +258,7 @@ to prevent turning all warnings into errors.
|
|||||||
.It Fl Werror=
|
.It Fl Werror=
|
||||||
Make the specified warning or meta warning into an error.
|
Make the specified warning or meta warning into an error.
|
||||||
A warning's name is appended
|
A warning's name is appended
|
||||||
.Pq example: Fl Werror=assert ,
|
.Pq example: Fl Werror=obsolete ,
|
||||||
and this warning is implicitly enabled and turned into an error.
|
and this warning is implicitly enabled and turned into an error.
|
||||||
This can be negated as
|
This can be negated as
|
||||||
.Fl Wno-error=
|
.Fl Wno-error=
|
||||||
@@ -280,7 +280,7 @@ Enables literally every warning.
|
|||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
The following warnings are actual warning flags; with each description, the corresponding warning flag is included.
|
The following warnings are actual warning flags; with each description, the corresponding warning flag is included.
|
||||||
Note that each of these flag also has a negation (for example,
|
Note that each of these flags also has a negation (for example,
|
||||||
.Fl Wobsolete
|
.Fl Wobsolete
|
||||||
enables the warning that
|
enables the warning that
|
||||||
.Fl Wno-obsolete
|
.Fl Wno-obsolete
|
||||||
|
|||||||
Reference in New Issue
Block a user