Microchip Technology SW006023-2 Data Sheet
![Microchip Technology](https://files.manualsbrain.com/attachments/cf42c3c895ef469f06d2e47e97fd98d738fcf5cf/common/fit/150/50/7340124dc8aa983aaf764094e2f06faab86f306c03111c5817f7e4e53fb2/brand_logo.gif)
Preprocessing
2012 Microchip Technology Inc.
DS51686E-page 173
__processor__
Where “processor” is the capitalized argument
to the
to the
-mprocessor
option. e.g.,
-mprocessor=32mx12f3456
will define
__32MX12F3456__
__XC
Always defined to indicate this is a Microchip
XC compiler
XC compiler
__XC32
Always defined to indicate this the XC32
compiler
compiler
__VERSION__
The
__VERSION__
macro expands to a
string constant describing the compiler in use.
Do not rely on its contents having any
particular form, but it should contain at least
the release number. Use the
Do not rely on its contents having any
particular form, but it should contain at least
the release number. Use the
__XC32_VERSION
macro for a numeric
version number
__XC32_VERSION
or
__C32_VERSION__
The C compiler defines the constant
__XC32_VERSION
, giving a numeric value
to the version identifier. This macro can be
used to construct applications that take
advantage of new compiler features while still
remaining backward compatible with older
versions. The value is based upon the major
and minor version numbers of the current
release. For example, release version 1.03
will have a
used to construct applications that take
advantage of new compiler features while still
remaining backward compatible with older
versions. The value is based upon the major
and minor version numbers of the current
release. For example, release version 1.03
will have a
__XC32_VERSION
definition of
1030. This macro can be used, in conjunction
with standard preprocessor comparison
statements, to conditionally include/exclude
various code constructs
with standard preprocessor comparison
statements, to conditionally include/exclude
various code constructs