Skip to content

Commit 480b175

Browse files
author
GitHub Action
committed
Update RGBDS master documentation
1 parent d36b4e7 commit 480b175

10 files changed

+14
-8
lines changed

docs/gbz80.7.pdf

0 Bytes
Binary file not shown.

docs/rgbasm.1.html

+14-8
Original file line numberDiff line numberDiff line change
@@ -216,12 +216,16 @@ <h2 class="Sh" id="DIAGNOSTICS"><a class="permalink" href="#DIAGNOSTICS">DIAGNOS
216216
following options alter the way warnings are processed.</p>
217217
<dl class="Bl-tag">
218218
<dt id="Werror"><a class="permalink" href="#Werror"><code class="Fl">-Werror</code></a></dt>
219-
<dd>Make all warnings into errors.</dd>
219+
<dd>Make all warnings into errors. This can be negated as
220+
<code class="Fl">-Wno-error</code> to prevent turning all warnings into
221+
errors.</dd>
220222
<dt id="Werror="><a class="permalink" href="#Werror="><code class="Fl">-Werror=</code></a></dt>
221-
<dd>Make the specified warning into an error. A warning's name is appended
222-
(example: <code class="Fl">-Werror=obsolete</code>), and this warning is
223-
implicitly enabled and turned into an error. This is an error if used with
224-
a meta warning, such as <code class="Fl">-Werror=all</code>.</dd>
223+
<dd>Make the specified warning or meta warning into an error. A warning's name
224+
is appended (example: <code class="Fl">-Werror=obsolete</code>), and this
225+
warning is implicitly enabled and turned into an error. This can be
226+
negated as <code class="Fl">-Wno-error=</code> to prevent turning a
227+
specified warning into an error, even if <code class="Fl">-Werror</code>
228+
is in effect.</dd>
225229
</dl>
226230
<p class="Pp">The following warnings are &#x201C;meta&#x201D; warnings, that
227231
enable a collection of other warnings. If a specific warning is toggled via
@@ -242,9 +246,11 @@ <h2 class="Sh" id="DIAGNOSTICS"><a class="permalink" href="#DIAGNOSTICS">DIAGNOS
242246
description, the corresponding warning flag is included. Note that each of
243247
these flag also has a negation (for example,
244248
<code class="Fl">-Wcharmap-redef</code> enables the warning that
245-
<code class="Fl">-Wno-charmap-redef</code> disables). Only the non-default
246-
flag is listed here. Ignoring the &#x201C;no-&#x201D; prefix, entries are
247-
listed alphabetically.</p>
249+
<code class="Fl">-Wno-charmap-redef</code> disables; and
250+
<code class="Fl">-Wall</code> enables every warning that
251+
<code class="Fl">-Wno-all</code> disables). Only the non-default flag is
252+
listed here. Ignoring the &#x201C;no-&#x201D; prefix, entries are listed
253+
alphabetically.</p>
248254
<dl class="Bl-tag">
249255
<dt id="Wno-assert"><a class="permalink" href="#Wno-assert"><code class="Fl">-Wno-assert</code></a></dt>
250256
<dd>Warn when <code class="Ic">WARN</code><span class="No">-type</span>

docs/rgbasm.1.pdf

205 Bytes
Binary file not shown.

docs/rgbasm.5.pdf

0 Bytes
Binary file not shown.

docs/rgbds.5.pdf

0 Bytes
Binary file not shown.

docs/rgbds.7.pdf

0 Bytes
Binary file not shown.

docs/rgbfix.1.pdf

0 Bytes
Binary file not shown.

docs/rgbgfx.1.pdf

0 Bytes
Binary file not shown.

docs/rgblink.1.pdf

0 Bytes
Binary file not shown.

docs/rgblink.5.pdf

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)