| C89(1) | General Commands Manual | C89(1) |
c89 — ANSI (1989)
C compiler
c89 |
[-pedantic]
[-pedantic-errors]
[-D_ANSI_SOURCE] [options ...] |
Calls the C compiler (cc) with the given options, using a C language environment compatible with the ANSI X3.159-1989 (“ANSI C89”) specification.
This includes proper handling of trigraphs, disabling non-ANSI
compiler features (such as asm,
inline, typeof, and the $
character in identifiers), and definition of the preprocessor symbol
__STRICT_ANSI__.
The following options are available:
-pedantic-pedantic-errors-pedantic.-D_ANSI_SOURCEc89 conforms to IEEE Std
1003.2-1992 (“POSIX.2”).
c89 appeared in NetBSD
1.4.
Since c89 is a shell wrapper script to
cc, compile errors are prefixed by
"cc:".
| January 5, 1999 | NetBSD 11.0 |