4.6.3.3 Ext Option

The -mext=extension option controls the language extension used during compilation. The allowed extensions are shown in the following Table.

Table 4-19. Acceptable C Language Extensions
Extension C Language Description
xc8 The native XC8 extensions (default).
cci A common C interface acceptable by all MPLAB XC compilers.

Enabling the cci extension requests the compiler to check all source code and compiler options for compliance with the Common C Interface (CCI). Code that complies with this interface can be more easily ported across all MPLAB XC compilers. Code or options that do not conform to the CCI will be flagged by compiler warnings.