User`s guide

Pragmas for the DSP56800 and DSP56800E
Pragma Reference
398
Targeting MC56F83xx/DSP5685x Controllers
message
Issues a text message to the user.
Prototype
#pragma message("text")
Remarks
This pragma tells the compiler to issue a message, text, to the user. When running
under the CodeWarrior IDE, the message appears in the Errors & Warnings window.
This pragma does not correspond to any setting in the C/C++ Language
panel. By
default, this pragma is disabled.
mpwc_newline
Controls the use of newline character convention used by the Apple MPW C.
Prototype
#pragma mpwc_newline on | off | reset
Remarks
If you enable this pragma, the compiler uses the MPW conventions for the '\n' and
'\r' characters. Otherwise, the compiler uses the Metrowerks C/C++ conventions
for these characters.
In MPW, '\n' is a Carriage Return (0x0D) and '\r' is a Line Feed (0x0A). In
Metrowerks C/C++, they are reversed: '\n' is a Line Feed and '\r' is a Carriage
Return.
If you enable this pragma, use ANSI C/C++ libraries that were compiled when this
pragma was enabled. The file names of the 68K versions of these libraries include the
letters NL (for example, MSL C.68K (NL_2i).Lib). The PowerPC versions of
these libraries are marked with NL; for example, MSL C.PPC (NL).Lib.
If you enable this pragma and use the standard ANSI C/C++ libraries, you cannot read
and write '\n' and '\r' properly. For example, printing '\n' brings you to the
beginning of the current line instead of inserting a newline.