aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2020-11-02 23:27:23 -0700
committerMelody Horn <melody@boringcactus.com>2020-11-02 23:27:23 -0700
commit17b5a490c51c61e176bb60855e06356c4d95efd2 (patch)
treeaa7163c9d91deff116f0ca2dcdef96556ca25d5f
parentabe957952ecf232481a5e9819b94dececa2a5f21 (diff)
downloadspec-17b5a490c51c61e176bb60855e06356c4d95efd2.tar.gz
spec-17b5a490c51c61e176bb60855e06356c4d95efd2.zip
update C comparison
-rw-r--r--vs-c.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/vs-c.rst b/vs-c.rst
index 73d0653..283e461 100644
--- a/vs-c.rst
+++ b/vs-c.rst
@@ -15,13 +15,13 @@ Footguns
Some constructs in C are almost always the wrong thing.
* ``goto``
-* Hexadecimal float literals
* Wide characters
* Digraphs
* Prefix ``++`` and ``--``
* Chaining mixed left and right shifts (e.g. ``x << 3 >> 2``)
* Chaining relational/equality operators (e.g. ``3 < x == 2``)
* Mixed chains of bitwise or logical operators (e.g. ``2 & x && 4 ^ y``)
+* Subtly variable-size integer types (``int`` instead of ``int32_t``, etc)
* The comma operator ``,``
Some constructs in C exhibit implicit behavior that should instead be made explicit.