29 Aug
2011
29 Aug
'11
7:27 p.m.
I was trying to trace the output of a macro within a preprocessor directive in a file using the Wave trace facility. The directive is: #elif BOOST_PP_ITERATION_FLAGS() == 1 so I specified: #pragma wave trace(enable) #elif BOOST_PP_ITERATION_FLAGS() == 1 #pragma wave trace(disable) But wave's trace showed me an empty file where the macro output ( -tsomefile ) should have been. Is there a way to capture the output of the BOOST_PP_ITERATION_FLAGS() macro at the point where the #elif is occuring using Wave's trace facility ?