This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug pch/18980] -MD doesn't report compiled headers as dependencies when using pch ?


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]