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: Declare cpp_reader in coretypes.h


 > 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


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