unsigned_char. NXP CodeWarrior Development Studio
विज्ञापन
विज्ञापन
??=
??/
?? '
??(
??)
??!
??<
??>
??-
unsigned_char
If you are writing code that must strictly adhere to the ANSI standard, enable this pragma.
Table 30-1. Trigraph table
Trigraph Character
|
{
}
~
[
]
#
\
^
NOTE
Use of this pragma may cause a portability problem for some targets.
Be careful when initializing strings or multi-character constants that contain question marks.
Listing 30-2. Example of Pragma trigraphs
char c = '????'; /* ERROR: Trigraph sequence expands to '??^ */ char d = '\?\?\?\?'; /* OK */
By default, this pragma is disabled.
30.13 unsigned_char
Controls whether or not declarations of type char
are treated as unsigned char
.
Syntax
#pragma unsigned_char on | off | reset
Remarks
If you enable this pragma, the compiler treats a char
declaration as if it were an unsigned char
declaration.
CodeWarrior Development Studio for Advanced Packet Processing Build Tools Reference Manual, Rev.
10.2, 01/2016
476 Freescale Semiconductor, Inc.
Chapter 30 Pragmas for Language Translation
NOTE
If you enable this pragma, your code might not be compatible with libraries that were compiled when the pragma was disabled. In particular, your code might not work with the ISO standard libraries included with CodeWarrior.
By default, this setting is disabled.
CodeWarrior Development Studio for Advanced Packet Processing Build Tools Reference Manual, Rev.
10.2, 01/2016
Freescale Semiconductor, Inc.
477
unsigned_char
CodeWarrior Development Studio for Advanced Packet Processing Build Tools Reference Manual, Rev.
10.2, 01/2016
478 Freescale Semiconductor, Inc.
Chapter 31
Pragmas for Diagnostic Messages
This section explains the following pragmas for diagnostic messages:
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
CodeWarrior Development Studio for Advanced Packet Processing Build Tools Reference Manual, Rev.
10.2, 01/2016
Freescale Semiconductor, Inc.
479
डाउनलोड
विज्ञापन