2c(1): document some differences with ANSI C

This commit is contained in:
aiju 2018-12-01 11:28:26 +00:00
parent ad7316e87c
commit 75f5332c9d

View file

@ -404,6 +404,21 @@ will turn into in-line bit operations,
as is done for shorter
.I unsigned
expressions).
.PP
Other differences with ANSI C include
.TF \|
.PD
.TP
\-
The compilers use the original "unsigned preserving", rather than ANSI C "value preserving" rules, which means that, e.g.,
.B "unsigned char"
gets promoted to
.B "unsigned int"
rather than
.BR "int" .
.TP
\-
Parameters in macros are substituted inside of strings.
.SH EXAMPLE
For the 68020, produce a program
.B prog