Controls whether or not to translate subsequent source code as C or C++ source code.
#pragma cplusplus on | off | reset
If you enable this pragma, the compiler translates the source code that follows as C++ code. Otherwise, the compiler uses the suffix of the filename to determine how to compile it. If a file name ends in .c , .h , or .pch , the compiler automatically compiles it as C code, otherwise as C++. Use this pragma only if a file contains both C and C++ code.
This pragma corresponds to the Force C++ Compilation setting in the CodeWarrior IDE's Properties > C/C++ Build > Settings > Tool Settings > PowerPC Compiler > C/C++ Language settings panel. By default, this pragma is disabled.