Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Wouldn't adding a preprocessor directive like "#include_once <header.h>" solve this?

No, that means that for foo.c a given header is only added once. It doesn't prevent bar.c from importing and recompiling that same header.



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: