Neil Booth <[EMAIL PROTECTED]> writes: > If it's a system header, why are you lying to the compiler?
I'm not lying, I use <a.h> > Maybe a real-life example and not "a.h" would help. Ok, here is the real-life example. Consider #include <jni.h> int main(){} which is compiled with g++-3.1 -MM -I/opt/JBuilder6/jdk1.3.1/include -I /opt/JBuilder6/jdk1.3.1/include/linux -c a.cc This gives as the output a.o: a.cc /opt/JBuilder6/jdk1.3.1/include/jni.h \ /opt/JBuilder6/jdk1.3.1/include/linux/jni_md.h I don't want the dependencies on jni.h, as those are system headers. Regards, Martin