C17(1) General Commands Manual C17(1)

c17ISO (2017) C compiler

c17 [-pedantic] [-pedantic-errors] [-D_ANSI_SOURCE] [options ...]

Calls the C compiler (cc) with the given options, using a C language environment compatible with the specification.

The following options are available:

Issue extra warnings defined by ANSI for use of non-ANSI features.
Issue errors instead of warnings that normally would be presented by -pedantic.
Tell the system header file set to use an ANSI-conformant "clean" namespace.

cc(1)

c17 first appeared in NetBSD 11.0.

Since c17 is a shell wrapper script to cc, compile errors are prefixed by “cc:”.

October 28, 2024 NetBSD 11.0