------- Additional Comments From trick at icculus dot org 2004-12-14 12:52 ------- This only affects precompiled headers. Continuing from before:
$ echo '#define TEST2' > test2.h $ echo '#include "test2.h"' >> test.c $ cat test.c #include "test.h" #include "test2.h" $ gcc -MD -MF test.c.d -c test.c $ cat test.c.d test.o: test.c test2.h ^ missing test.h (since test.h.gch exists and is used), but not test2.h -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18980