I know the option -E enables the proprocessed output from a c source file. But I want further to have the macros fully evaluated.
As a trivial example, in the following snippet,
# define P(n) n, n^1, n^1, n
const bool array[4] = {P(0)};
I want to see the exact values of elements in array[4]. But the -E output only shows 0, 0^1, 0^1, 0 etc. So how to make it to show 0, 1, 1, 0 in fully evaluated form here?
Thanks.