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/49576] Option to suggest headers for addition to PCH


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49576

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-06-29 17:34:11 UTC ---
If your program has:
  #include "everything.h"
  #include <something.h>
and you have a PCH for everything.h.gch then something.h should be added to
everything.h

Isn't that easy enough?


I don't understand why only headers under /usr/include would be potentially
added, that's not the only use case for PCH


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