23.3 Data Type
Some compilers allow use of the boolean type, bool, as
well as associated values true and false, as specified by
the C99 ANSI Standard. This type and these values may be used by MPLAB XC16, MPLAB XC-DSC
and MPLAB XC32 C compilers when in compatibility mode, as shown in the table below.
As indicated by the ANSI Standard, the <stdbool.h>
header must be included for this feature to work as expected when it is used with these
MPLAB XC compilers.
| IAR Compatibility Mode | |||
|---|---|---|---|
| Type | XC16 | XC-DSC | XC32 |
bool |
support | support | support |
