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: [patch] h8300.c: Include cpplib.h.


Kazu Hirata wrote:-

> Hi,
> 
> Attached is a patch to include cpplib.h.
> 
> h8300.c and h8300-protos.h refer to the type cpp_reader, which is now
> typedefed in cpplib.h.  Without the patch, the build of h8300 port
> stops at h8300.c.  The patch fixes the problem by including cpplib.h.
> 
> Committed as obvious.

Sorry about that.  IMO a better fix is to use "struct cpp_reader *"
as intended, and not include cpplib.h as you don't use it.

Neil.


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