24.1 Compiling in Compatibility Mode

An option is used to enable vendor-specific syntax compatibility. When using MPLAB XC8, this option is --ext=vendor; when using MPLAB XC16 or MPLAB XC32, the option is -mext=vendor. The argument vendor is a key that is used to represent the syntax. See the table below for a list of all keys usable with the MPLAB XC compilers.

Table 24-1. Vendor Keys
Vendor keySyntaxXC8 SupportXC16 SupportXC32 Support
cciCommon C InterfaceYesYesYes
iarIAR C/C++ CompilerTM for ARMYesYesYes

The Common C Interface is a language standard that is common to all Microchip MPLAB XC compilers. The non-standard extensions associated with this syntax are already described in Common C Interface and are not repeated here.