2 ms·
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
by tomjakubowski 9y 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.
- tedunangst 9y agook, sure, I revise my answer to don't shadow any header.
- tomjakubowski 9y agoEasier said than done, especially integrating over the lifetime of a years-long project with many ever-changing dependencies :-)