23.1 Compiling in Compatibility Mode

An option is used to enable vendor-specific syntax compatibility. For MPLAB XC16, MPLAB XC-DSC and 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 C compilers.

Table 23-1. Vendor Keys
Vendor key Syntax XC16 Support XC-DSC Support XC32 Support
cci Common C Interface Yes Yes Yes
iar IAR C/C++ Compiler for ARM Yes Yes Yes