GNU Info

Info Node: (cpp-300.info)Macro Pitfalls

(cpp-300.info)Macro Pitfalls


Prev: Undefining and Redefining Macros Up: Macros
Enter node , (file) or (file)node

Macro Pitfalls
==============

   In this section we describe some special rules that apply to macros
and macro expansion, and point out certain cases in which the rules have
counter-intuitive consequences that you must watch out for.

Misnesting
Operator Precedence Problems
Swallowing the Semicolon
Duplication of Side Effects
Self-Referential Macros
Argument Prescan
Newlines in Arguments

automatically generated by info2www version 1.2.2.9