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.



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

Search: