Eric Liang <eric.l.2046@xxxxxxxxx> writes: >> Ah whoops, seems like you need to explicitly specify C++ mode with -E: >> >> echo ... | g++ -x c++ -E - >> > It works. Thanks again. > Is there any docs about the output? It looks like a tree, but is hard to > organize. http://gcc.gnu.org/onlinedocs/gcc-4.3.2/cpp/Preprocessor-Output.html Ian