4.6.3.4 Std Option

The -std=standard option specifies the C standard to which the compiler assumes source code will conform. Allowable standards and devices are tabulated below.

Note that MPLAB XC8 uses a different compiler front end for these two standards, thus you might see a change in compiler behavior when swapping between standards.

Table 4-20. Acceptable C Language Standards
Standard Supports
c89 or c90 ISO C90 (ANSI) programs (using the P1 front end for all devices).
c99 ISO C99 programs (using the Clang front end for PIC18 and Enhanced mid-range devices).