Controls the use of newline character convention used by the Apple MPW C.
#pragma mpwc_newline on | off | reset
If you enable this pragma, the compiler uses the MPW conventions for the '\n' and '\r' characters. Otherwise, the compiler uses the Freescale C/C++ conventions for these characters.
In MPW, '\ n' is a Carriage Return (0x0D) and '\r' is a Line Feed (0x0A). In Freescale 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.
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.
This pragma corresponds to the Map newlines to CR setting in the Language panel. To check this setting, use __option (mpwc_newline), described in Checking Pragma Settings. By default, this pragma is disabled.
Enabling this setting is not useful for the DSP56800 target.