const_strings. NXP CodeWarrior Development Studio
Reklam
Reklam
const_strings
Some targets may have additional comment characters, and may treat these characters as comments even when
#pragma asmsemicolcomment off is used.
Using this pragma may interfere with the assembly language of a specific target.
This pragma does not correspond to any panel setting. By default, this pragma is on
.
30.3 const_strings
Controls the const
-ness of character string literals.
Syntax
#pragma const_strings [ on | off | reset ]
Remarks
If you enable this pragma, the type of string literals is an array const char[
n
]
, or const wchar_t[
n
]
for wide strings, where n is the length of the string literal plus 1 for a terminating
NUL
character. Otherwise, the type char[
n
]
or wchar_t[
n
]
is used.
By default, this pragma is on
when compiling C++ source code and off
when compiling C source code.
30.4 dollar_identifiers
Controls use of dollar signs ($) in identifiers.
Syntax
#pragma dollar_identifiers on | off | reset
Remarks
If you enable this pragma, the compiler accepts dollar signs (
$
) in identifiers. Otherwise, the compiler issues an error if it encounters anything but underscores, alphabetic, numeric character, and universal characters (
\uxxxx
,
\Uxxxxxxxx
) in an identifier.
This pragma does not correspond to any panel setting. By default, this pragma is off
.
CodeWarrior Development Studio for Power Architecture Processors Build Tools Reference Manual, Rev.
10.6, 02/2014
460 Freescale Semiconductor, Inc.
İndir
Reklam