aboutsummaryrefslogtreecommitdiff
path: root/tcc-doc.texi
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2014-02-06 20:51:47 +0800
committerThomas Preud'homme <robotux@celest.fr>2014-02-06 21:40:22 +0800
commitb0b5165d1668373c5d7b7933da599426f33e723b (patch)
treeb4773e5e68a85f6712ddb51a731a029dd3732b5f /tcc-doc.texi
parente571850d794c46b55f1a0fb0ffb22d594bee1d69 (diff)
downloadtinycc-b0b5165d1668373c5d7b7933da599426f33e723b.tar.gz
tinycc-b0b5165d1668373c5d7b7933da599426f33e723b.tar.bz2
Def signedness != signed != unsigned for char
When checking for exact compatibility between types (such as in __builtin_types_compatible_p) consider the case of default signedness to be incompatible with both of the explicit signedness for char. That is, char is incompatible with signed char *and* unsigned char, no matter what the default signedness for char is.
Diffstat (limited to 'tcc-doc.texi')
-rw-r--r--tcc-doc.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcc-doc.texi b/tcc-doc.texi
index e8832f6..3a1c7df 100644
--- a/tcc-doc.texi
+++ b/tcc-doc.texi
@@ -970,7 +970,7 @@ be the best solution.
#define VT_BITFIELD 0x0040 /* bitfield modifier */
#define VT_CONSTANT 0x0800 /* const modifier */
#define VT_VOLATILE 0x1000 /* volatile modifier */
-#define VT_SIGNED 0x2000 /* signed type */
+#define VT_DEFSIGN 0x2000 /* signed type */
#define VT_STRUCT_SHIFT 18 /* structure/enum name shift (14 bits left) */
@end example