24.1 Compiling in Compatibility Mode
The -mext=vendor
option is used to enable vendor-specific
syntax compatibility. The argument vendor is a key that is used to represent the syntax.
See the following table for a list of all keys usable with the MPLAB XC compilers.
Vendor key | Syntax | XC8 Support | XC16/XC-DSC Support | XC32 Support |
---|---|---|---|---|
cci | Common Compiler Interface | Yes | Yes | Yes |
iar | IAR C/C++ Compiler™ for Arm | No | Yes | Yes |
The Common Compiler Interface is a language standard that is common to all Microchip MPLAB XC compilers (although this is not implemented by XC32 when targeting PIC32C/SAM devices). The non-standard extensions associated with this syntax are already described in Common C Interface and are not repeated here.