Sun WorkShop Compiler C 5.0 User's Guide

Preprocessing Directives(G.3.13)

(6.8.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:

A character constant within a preprocessing directive has the same numeric value as it has within any other expression.

(6.8.1)Whether such a character constant may have a negative value:

Character constants in this context may have negative values (SPARC) (Intel) .

(6.8.2)The method for locating includable source files:

A file whose name is delimited by < > is searched for first in the directories named by the -I option, and then in the standard directory. The standard directory is /usr/include, unless the -YI option is used to specify a different default location.

A file whose name is delimited by quotes is searched for first in the directory of the source file that contains the #include, then in directories named by the -I option, and last in the standard directory.

If a file name enclosed in < > or double quotes begins with a / character, the file name is interpreted as a path name beginning in the root directory. The search for this file begins in the root directory only.

(6.8.2)The support of quoted names for includable source files:

Quoted file names in include directives are supported.

(6.8.2)The mapping of source file character sequences:

Source file characters are mapped to their corresponding ASCII values.

(6.8.6)The behavior on each recognized #pragma directive:

The following pragmas are supported. See "Pragmas " for more information.

(6.8.8)The definitions for __DATE__ and __TIME__ when, respectively, the date and time of translation are not available:

These macros are always available from the environment.