i tried to see the preprocessed file after it is preprocessed.
i created den.cpp :
#define PROC_ERR(MSGSTR, DO_ACTION) \
{ \
cerr << MSGSTR << endl; \
DO_ACTION; \
}
PROC_ERR(error,action)
i run the following command on unix command prompt to create the preprocessed file :
g++ -E -o den.i den.cpp
the content of the preprocessed file "den.i" is as follows
# 1 "den.cpp"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "den.cpp"
{ cerr << error << endl; action; }