This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: #import and PCH
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Geoffrey Keating <gkeating at apple dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 24 Jan 2003 13:56:18 -0800
- Subject: Re: #import and PCH
- References: <200301242040.h0OKebh1007933@keatge.apple.com>
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