I would like to print a macro value (expand the macro) in the #warning directive.
For example, for the code:
#define AAA 17
#warning AAA = ???
The desired compile-time output would be
warning: AAA = 17
What do I use for ???, or, how do I augment the code?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…