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: It's (PCH) merging time!


On 05-Oct-2002, Geert Bosch <bosch@gnat.com> wrote:
> On Tuesday, Jun 4, 2002, at 02:57 America/New_York, Geoff Keating wrote:
> >OK, I'm just about ready to make the merge from pch-branch.
> >I've put the final patch at
> ><http://people.redhat.com/geoffk/patches/pch-12.patch>.  Some minor
> >additional work was required to get the branch merged into mainline.
> 
> This patch breaks Ada, since the following change is made to decl.c
> and other sources:
> 
> @@ -6209,3 +6212,5 @@ concat_id_with_name (gnu_id, suffix)
>    strcpy (Name_Buffer + len, suffix);
>    return get_identifier (Name_Buffer);
>  }
> +
> +#include "gt-ada-decl.h"
> 
> Apparently this file should be autogenerated, but I can't figure out
> how that is supposed to happen, and why it doesn't.

That file is supposed to be generated by gengtype, I believe,
which is invoked by the following rule in the Makefile:

	s-gtype: gengtype$(build_exeext) $(GTFILES)
		./gengtype
		$(STAMP) s-gtype

The ada/decl.c file name should be included in gtfiles in ada/config-lang.in
(which it is), and it should then get included in gtyp-gen.h,
which gets #included in gengtype.c, which gets compiled to the
gentype executable, which should generate the gt-ada-decl.h file.

I don't know why it isn't working.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.


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