Hello; I can't get dependencies generated with g++ -MD to come out correctly when precompiled headers are used. I've attached an example which generates main.d while compiling main.cpp. main.cpp includes include/bink.h. When the include path contains the precompiled bink.h.gch (only), main.d does not contain any dependency on bink.h.gch. When the compiler includes bink.h, main.d includes the dependency. I get the same behavior with version 3.4.6 and 4.1.2 Am I doing something wrong? Thanks for any help, Robert
Attachment:
gch_bug.tgz
Description: GNU Zip compressed data