How can I show the compiler's definition of a typedef
during compilation of a C program?
I know I can show how a macro is defined using e.g. #pragma message
, see How do I show the value of a #define at compile-time?, but I could not find a similar procedure for typedef
s.
Being able to dump a typedef
s definition during compile time (or run time) could help debugging programs you did not write yourself.