Skip to content

Commit e5ea207

Browse files
author
GitHub Action
committed
Update RGBDS master documentation
1 parent eaa48fa commit e5ea207

File tree

11 files changed

+8
-3
lines changed

11 files changed

+8
-3
lines changed

docs/gbz80.7.pdf

0 Bytes
Binary file not shown.

docs/rgbasm-old.5.pdf

0 Bytes
Binary file not shown.

docs/rgbasm.1.pdf

0 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.html

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -305,10 +305,15 @@ <h2 class="Sh" id="DIAGNOSTICS"><a class="permalink" href="#DIAGNOSTICS">DIAGNOS
305305
<dt id="Wshift-amount"><a class="permalink" href="#Wshift-amount"><code class="Fl">-Wshift-amount</code></a></dt>
306306
<dd>Warn when a shift's operand is negative or greater than 32. This warning
307307
is enabled by <code class="Fl">-Wall</code>.</dd>
308-
<dt id="Wno-truncation"><a class="permalink" href="#Wno-truncation"><code class="Fl">-Wno-truncation</code></a></dt>
308+
<dt id="Wtruncation="><a class="permalink" href="#Wtruncation="><code class="Fl">-Wtruncation=</code></a></dt>
309309
<dd>Warn when an implicit truncation (for example, <code class="Ic">db</code>
310-
to an 8-bit value) loses some bits. This occurs when an N-bit value is
311-
2**N or greater, or less than -2**N.</dd>
310+
to an 8-bit value) loses some bits. <code class="Fl">-Wtruncation=0</code>
311+
or <code class="Fl">-Wno-truncation</code> disables this warning.
312+
<code class="Fl">-Wtruncation=1</code> warns when an N-bit value is 2**N
313+
or greater, or less than -2**N. <code class="Fl">-Wtruncation=2</code> or
314+
just <code class="Fl">-Wtruncation</code> also warns when an N-bit value
315+
is less than -2**(N-1), which will not fit in two's complement
316+
encoding.</dd>
312317
</dl>
313318
</section>
314319
<section class="Sh">

docs/rgblink.1.pdf

233 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)