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 -f 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 |
------------------------- Macro Begin Line: 78 ------------------------- Macro: SQR ~~ Macro Quality Notices ~~ Macro: SQR -------------------------- Macro End Line: 78 -------------------------- ------------------------- Macro Begin Line: 79 ------------------------- Macro: ABS ~~ Macro Quality Notices ~~ Macro: ABS -------------------------- Macro End Line: 79 -------------------------- |