Справочник Пользователя для Microchip Technology XC8 Standard Compiler (Workstation) SW006021-1 SW006021-1
Модели
SW006021-1
MPLAB
®
XC8 C Compiler User’s Guide
DS52053B-page 484
2012 Microchip Technology Inc.
C.13 PREPROCESSING DIRECTIVES (G.3.13)
C.13.1
Whether the value of a single-character character constant in a
constant expression that controls conditional inclusion
matches the value of the same character constant in the
execution character set (6.8.1)
constant expression that controls conditional inclusion
matches the value of the same character constant in the
execution character set (6.8.1)
The character constant evaluates to the same value in both environments.
C.13.2
Whether such a character constant may have a negative value
(6.8.1)
(6.8.1)
It may not be negative.
C.13.3
The method for locating includable source files (6.8.2)
For files specified in angle brackets, < >, the search first takes place in the directories
specified by -I options, then in the standard compiler directory (this is the directory
include
specified by -I options, then in the standard compiler directory (this is the directory
include
found in the compiler install location.
For files specified in quotes, " ", the compilers searches the current working directory
first, then directories specified by -I options, then in the standard compiler directory.
first, then directories specified by -I options, then in the standard compiler directory.
If the first character of the filename is a /, then it is assumed that a full or relative path
to the file is specified. On Windows compilers, a path is also specified by either \ or a
DOS drive letter followed by a colon, e.g., C: appearing first in the filename.
to the file is specified. On Windows compilers, a path is also specified by either \ or a
DOS drive letter followed by a colon, e.g., C: appearing first in the filename.
C.13.4
The support of quoted names for includable source files (6.8.2)
Quoted names are supported.
C.13.5
The mapping of source file character sequences (6.8.2)
Source file characters are mapped to their corresponding ASCII values.
C.13.6
The behavior on each recognized #pragma directive (6.8.6)
C.13.7
The definitions for __DATE__ and __TIME__ when, respectively,
the date and time of translation are not available (6.8.8)
the date and time of translation are not available (6.8.8)
These macros are always available from the environment.