warn_notinlined. NXP CodeWarrior Development Studio
Annonce
Annonce
warn_notinlined
The compiler issues a warning message if a typenames
required by the C++ standard is missing but can still be determined by the compiler based on the context of the surrounding C++ syntax.
This pragma does not correspond to any panel setting. This pragma is enabled by the
ISO/IEC 14882:2003 C++ template parser.
29.46 warn_notinlined
Controls the issuing of warning messages for functions the compiler cannot inline.
Syntax
#pragma warn_notinlined on | off | reset
Remarks
The compiler issues a warning message for non-inlined inline (i.e., on those indicated by the inline
keyword or in line in a class declaration) function calls.
This pragma corresponds to the Non-Inlined Functions setting in the CodeWarrior IDE's
Properties > C/C++ Build > Settings > Tool Settings > PowerPC Compiler >
Warniings C/C++ Warnings settings panel. By default, this pragma is disabled.
29.47 warn_structclass
Controls the issuing of warning messages for the inconsistent use of the class
and struct keywords.
Syntax
#pragma warn_structclass on | off | reset
Remarks
If you enable this pragma, the compiler issues a warning message if you use the class
and struct
keywords in the definition and declaration of the same identifier.
Listing 29-16. Inconsistent use of class
and struct
class X; struct X { int a; }; // WARNING
CodeWarrior Development Studio for Power Architecture Processors Build Tools Reference Manual, Rev.
10.6, 02/2014
456 Freescale Semiconductor, Inc.
Download
Annonce