Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
MPLAB
®
XC16 C COMPILER
USERS GUIDE
2012-2013 Microchip Technology Inc. DS50002071C-page 239
Appendix B. Embedded Compiler Compatibility Mode
B.1 INTRODUCTION
All three MPLAB XC C compilers can be placed into a compatibility mode. In this mode,
they are syntactically compatible with the non-standard C language extensions used by
other non-Microchip embedded compiler vendors. This compatibility allows C source
code written for other compilers to be compiled with minimum modification when using
the MPLAB XC compilers.
Since very different device architectures may be targeted by other compilers, the
semantics of the non-standard extensions may be different to that in the MPLAB XC
compilers. This document indicates when the original C code may need to be reviewed.
The compatibility features offered by the MPLAB C compilers are discussed in the
following topics:
Compiling in Compatibility Mode
Syntax Compatibility
Data Type
Operator
Extended Keywords
All assembly code specified by this construct is device-specific and will need
review when porting to any Microchip device.
Pragmas
Protego_Release_01_05-Related-OEM-Documentation-MPLAB-XC16-C-Compiler.pdf