Is their any C++ compiler option for Solaris Studio which will show me each step in the expansion of a macro when I compile a program ?
I know about the compiler option which gives me the source after preprocessing. But that just shows the source from any macro after macro expansion has completely occurred. I need to see each step of the expansion of a macro as the preprocessor is expanding it.
Both gcc and clang have such a macro expansion compiler option so I am hoping that Solaris Studio C++ also has one.