Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
billconan
on Dec 1, 2014
|
parent
|
context
|
favorite
| on:
Printing the contents of a C macro
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?
BruceIV
on Dec 2, 2014
[–]
`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).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: