News for hackers. Stuff that matters.
Re:Printing the contents of a C macro by billconan on Monday December 01, 2014 @02:26PM (#8683086)
This is so great! I wanted this since forever. That's been said, shouldn't this be a compiler feature? print out macro at compile time for easy debugging?
Re:Printing the contents of a C macro by BruceIV on Monday December 01, 2014 @09:40PM (#8685379)
`gcc -E foo.c` will just run the pre-processor and print to stdout (including expanding all the `#include`s, so it's a bit verbose).