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]

Re: [PATCH] Print -imacros and -include'd headers if print_deps


On Tue, Jan 23, 2001 at 06:39:34PM +0100, Jakub Jelinek wrote:
> Hi!
> 
> Both egcs 1.1.2 and gcc-2.95.2 include files mentioned in -imacros and
> -include during -M, -MM, -MD and -MMD among dependencies.
> I think it would be good if cpplib and tradcpp kept this behaviour
> (currently they print only includes invoked through #include
> directives), e.g. Mozilla gets bitten on this.
> Here is a patch to make that happen, ok to commit?

The concept is fine.  I would rather you put the call to deps_add_dep
in do_includes, than added an obscure third argument to
_cpp_read_file.

zw

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