This is the mail archive of the 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: cpplib: what is a system header? [HEAD]

On Feb 17, 2001, Russ Allbery <> wrote:

> Hm.  This is going to cause a change in behavior of make depend in at
> least some packages (INN being the example near and dear to my heart).
> We'd end up listing Perl header files and the like in the dependencies in
> the Makefile after this change without further changing our scripts, since
> those directories are added to the include path with -I (we support
> compilers other than gcc).  Or am I missing something?

Hmm...  I'm afraid the alternative is to have packages that use
#include <foo.h> to include their own internal headers to miss
dependencies on foo.h.  And it's not like using <> for headers within
the same package is wrong or even regarded as bad practice.

I'd much rather have too many dependencies than too few.  Why is it a
problem for you to have the perl headers listed as dependencies?

Alexandre Oliva   Enjoy Guarana', see
Red Hat GCC Developer                  aoliva@{,}
CS PhD student at IC-Unicamp        oliva@{,}
Free Software Evangelist    *Please* write to mailing lists, not to me

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