I have a project which used a generic header I keep in /usr/local/include. I have to send it to someone, so I've copied the appropriate functions into a (smaller) header and changed #include <mine.h> to #include "mine.h". Now I get some inappropriate warnings involving "incompatible pointer". If I put a softlink in my LIB_PATH to the header and go back to #include <mine.h>, they disappear.
What's the deal? I can't use the softlink, I have to give this to someone with #include "mine.h".
ps. the pointers are not really incompatible, and the error persists even if I cast them as themselves.