This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Declare cpp_reader in coretypes.h
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: shebs at apple dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 23 Jan 2003 17:36:35 -0500 (EST)
- Subject: Re: Declare cpp_reader in coretypes.h
- References: <3E3069DD.6000105@apple.com>
> Although this is pretty straightforward, I'll wait a bit before
> committing to see if there are any suggestions for further
> improvements.
>
> Stan
>
> 2003-01-23 Stan Shebs <shebs@apple.com>
>
> * coretypes.h (cpp_reader): Forward declare struct.
> * c-pragma.h (cpp_reader): Remove forward declaration.
> * hashtable.h (cpp_reader): Likewise.
> * scan.h (cpp_reader): Likewise.
> * tree.h (cpp_reader): Likewise.
> * config/darwin-protos.h (cpp_reader): Likewise.
> * config/arm/arm.h (cpp_reader): Likewise.
Thanks Stan. I have two suggestions.
You should be able to remove the macro wrapper guards around the
cpp_reader prototypes in rs6000-protos.h. Also, you perhaps want to
do _dont_use_cpp_reader_here_ etc in the #else section of coretypes.h.
--Kaveh
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu