This is the mail archive of the
mailing list for the GCC project.
Re: do not include diagnostic-core.h in toplev.h
Manuel López-Ibáñez wrote:
> Perhaps it would be more robust for the future to have a header for
> each gen* program, so they only include 1 header. This header will
> contain the actual #includes, so it will be far easier to check what
> is included by what. Modifying the headers will not require to modify
> and recompile the gen* programs (plus regenerate and recompile the
> generated file) but just recompile the generated file. What you think?
I don't think that's going to be a big win; it just moves the #includes
around. In any case, I'm not overly worried about this kind of
fine-grained detail; I think it's much more important to continue the
overall modularization of the compiler.
(650) 331-3385 x713