resurrecting automatic dependencies
Ian Lance Taylor
iant@google.com
Tue Jul 23 16:16:00 GMT 2013
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
More information about the Gcc
mailing list