This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: resurrecting automatic dependencies
- From: Ian Lance Taylor <iant at google dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: GCC Development <gcc at gcc dot gnu dot org>
- Date: Tue, 23 Jul 2013 09:15:59 -0700
- Subject: Re: resurrecting automatic dependencies
- References: <87li539ser dot fsf at fleche dot redhat dot com> <87r4ep4ux3 dot fsf at fleche dot redhat dot com>
On Tue, Jul 23, 2013 at 12:06 AM, Tom Tromey <tromey@redhat.com> wrote:
>
> ... which causes build failures for go-backend.c (uses rtl.h) and
> go-lang.c (uses except.h), since with this defined, certain headers are
> prohibited.
>
>
> A short term solution is to keep Go using explicit dependencies.
>
> For a long term solution ... well, I'm CCing Ian.
>
> The except.h doesn't seem to be needed. At least, I removed the include
> and go-lang.c still compiled. The go-backend.c problem looks harder,
> though. Thoughts?
I committed a patch to remove the #include of "except.h" from
go-lang.c, so that one is handled.
And it turns out that the #include of "rtl.h" in go-backend.c is also
no longer necessary, so I removed that one too.
So you should be good to go for Go.
Ian