This is the mail archive of the gcc-patches@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]

Re: #import and PCH


Geoffrey Keating <gkeating@apple.com> writes:

> #import worked by setting a flag bit on cpplib's hash table.  This is
> somewhat annoying from a PCH perspective, and is kind of ugly too.
> This patch changes the behaviour so that #import uses macro
> definitions to track whether a header is included or not, and then
> PCH works with it automatically.

I only have one thing to add to what Neil already said:  You
moved a couple of warnings out of do_include_common to its callers.
Please submit that separately.

zw


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