K&R Sun C / Sun ANSI C Differences |
A |
![]() |
"K&R Sun C Incompatibilities with Sun ANSI C" on page 44 describes previous Sun C features incompatible with Sun ANSI C. These differences should be addressed when porting source code written for the Sun C compiler to Sun ANSI C.
"Keywords" on page 51 lists reserved words used by the ANSI C standard, Sun ANSI C, Sun C, and those defined by the Sun ANSI and Sun C preprocessors.
K&R Sun C Incompatibilities with Sun ANSI C
Keywords
The following tables list the keywords for the ANSI C Standard, the Sun ANSI C compiler, and the Sun C compiler.
Sun ANSI defines one additional keyword, asm. However, asm is not supported in -Xc mode.