Report: Macro Analysis |
Option: -m |
Compatible Options: RSM Option Cross Reference |
Usage: rsm -H -O"report.htm" -m -n maccomp.c |
Source: C and C++ |
Similar to the -fa option, -m identifies and analyzes C macros.
If macros do not exist in the source, then no macros will be emitted.
The use of macros in C++ code is not advised because macros are not type
safe; they use a different language syntax; they are interpreted by the
preprocessor for which there is no ANSI standard and in many debuggers macros
have no symbolic context. We advise using inline functions in C++
in lieu of macros.
Macros are a common cause of maintenance and portability headaches, so locating their existence is quite |