|
|
|
CHAPTER 8 : Language Usage
8.14 Other preprocessor commands#include, #define and #if constructs are by far the most commonly used preprocessor commands, and hence need more said about their use. Other commands, however, should not be forgotten.
#error can be useful in conditional compilation situations which should not happen:
#if !defined( SYS_NAME ) ---------------------------------- #pragma is potentially dangerous in portability situations, as it causes implementation dependent actions.
A general danger with lesser-used features of the language is in the potential for misunderstanding and confusion by the non-expert reader.
|
|
|
|
|
||||