Hacker News new | ask | show | jobs
by tomjakubowski 3221 days ago
I don't think this problem is limited to system headers. Something as innocent as #include "foo/bar.h" can be affected by this if you pass -I with at least two unique paths to the compiler.
1 comments

ok, sure, I revise my answer to don't shadow any header.
Easier said than done, especially integrating over the lifetime of a years-long project with many ever-changing dependencies :-)